diff --git a/discord/permissions.py b/discord/permissions.py index 3cf903e94..8ff4d551f 100644 --- a/discord/permissions.py +++ b/discord/permissions.py @@ -127,7 +127,7 @@ class Permissions: def all(cls): """A factory method that creates a :class:`Permissions` with all permissions set to True.""" - return cls(0b00111111111101111111110000111111) + return cls(0b01011111111101111111110000111111) @classmethod def all_channel(cls): @@ -148,7 +148,7 @@ class Permissions: def general(cls): """A factory method that creates a :class:`Permissions` with all "General" permissions from the official Discord UI set to True.""" - return cls(0b00111100000000000000000000111111) + return cls(0b01011100000000000000000000111111) @classmethod def text(cls): @@ -423,11 +423,11 @@ class Permissions: This also corresponds to the "manage permissions" channel-specific override. """ - return self._bit(29) + return self._bit(30) @manage_emojis.setter def manage_emojis(self, value): - self._set(29, value) + self._set(30, value) # 2 unused