mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Reformat entire project with ruff instead of black
This commit is contained in:
@ -406,7 +406,7 @@ class AppInfo:
|
||||
if install_params_scopes is None:
|
||||
install_params = None
|
||||
else:
|
||||
if "bot" not in install_params_scopes and install_params_permissions is not MISSING:
|
||||
if 'bot' not in install_params_scopes and install_params_permissions is not MISSING:
|
||||
raise ValueError("'bot' must be in install_params_scopes if install_params_permissions is set")
|
||||
|
||||
install_params['scopes'] = install_params_scopes
|
||||
|
Reference in New Issue
Block a user