mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Reformat entire project with ruff instead of black
This commit is contained in:
1 parent
3ef6272e07
commit
44a44e938f
88 files changed
+485
-730
No files matched your search
+1
-1
@@ -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