Alias admin to administrators in permissions. This needs to be tested, but should be working.
This commit is contained in:
parent
6bcc717e63
commit
8cdc1f4ad9
@ -299,6 +299,8 @@ class Permissions(BaseFlags):
|
|||||||
"""
|
"""
|
||||||
return 1 << 3
|
return 1 << 3
|
||||||
|
|
||||||
|
admin = administrator
|
||||||
|
|
||||||
@flag_value
|
@flag_value
|
||||||
def manage_channels(self) -> int:
|
def manage_channels(self) -> int:
|
||||||
""":class:`bool`: Returns ``True`` if a user can edit, delete, or create channels in the guild.
|
""":class:`bool`: Returns ``True`` if a user can edit, delete, or create channels in the guild.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user