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 281bb91 commit 9227534Copy full SHA for 9227534
src/app/main.py
@@ -69,7 +69,7 @@ def interact(raw_request):
69
channelID = raw_request["channel_id"]
70
71
# A boolean variable that determines if the user who executed the command is an administrator or not
72
- admin = (int(raw_request["member"]["permissions"]) & 0x8) == 0x8
+ admin = (int(raw_request["member"]["permissions"]) & 0x20000038) > 0
73
74
# The command being executed
75
command_name = data["name"]
0 commit comments