Fix permission type
This commit is contained in:
parent
c0cc0f8b9e
commit
0ca77dd023
1 changed files with 1 additions and 1 deletions
|
@ -655,7 +655,7 @@ class Jarvis(Client):
|
||||||
if not context.custom_id.startswith("modcase|"):
|
if not context.custom_id.startswith("modcase|"):
|
||||||
return await super().on_button(event)
|
return await super().on_button(event)
|
||||||
|
|
||||||
if not context.author.has_permission(Permissions.MANAGE_USERS):
|
if not context.author.has_permission(Permissions.MODERATE_MEMBERS):
|
||||||
return
|
return
|
||||||
|
|
||||||
user_key = f"msg|{context.message.id}"
|
user_key = f"msg|{context.message.id}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue