mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Permission variable typo, sorry
This commit is contained in:
parent
83982d0105
commit
1dad3f1d3a
@ -207,7 +207,7 @@ def bot_can_create_webhooks(guild):
|
|||||||
if g_role["id"] == m_role:
|
if g_role["id"] == m_role:
|
||||||
perm |= g_role["permissions"]
|
perm |= g_role["permissions"]
|
||||||
continue
|
continue
|
||||||
if user_has_permission(channel_perm, 3): # Admin perms override yes
|
if user_has_permission(perm, 3): # Admin perms override yes
|
||||||
return True
|
return True
|
||||||
return user_has_permission(perm, 29)
|
return user_has_permission(perm, 29)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user