We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c09fb commit 3a4f0daCopy full SHA for 3a4f0da
discord/bot.py
@@ -287,7 +287,7 @@ def _check_command(cmd: ApplicationCommand, match: Dict) -> bool:
287
]:
288
# We have a difference
289
return True
290
- elif getattr(cmd, check) != match.get(check):
+ elif getattr(cmd, check, None) != match.get(check):
291
292
if check == "default_permission" and getattr(cmd, check) is True and match.get(check) is None:
293
# This is a special case
0 commit comments