Alias admin to administrators in permissions. This needs to be tested, but should be working.

This commit is contained in:
Arthur Jovart 2021-08-29 00:26:26 +02:00
parent 6bcc717e63
commit 8cdc1f4ad9
No known key found for this signature in database
GPG Key ID: DE4444AAAAAAAAAA

View File

@ -299,6 +299,8 @@ class Permissions(BaseFlags):
"""
return 1 << 3
admin = administrator
@flag_value
def manage_channels(self) -> int:
""":class:`bool`: Returns ``True`` if a user can edit, delete, or create channels in the guild.