Alias admin to administrators in permissions. This needs to be tested… #16

Merged
paris-ci merged 2 commits from alias_administrator_to_admin into 2.0 2021-09-02 01:06:30 +00:00
Showing only changes of commit 8cdc1f4ad9 - Show all commits

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.