aboutsummaryrefslogtreecommitdiff
path: root/discord/permissions.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/permissions.py')
-rw-r--r--discord/permissions.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/discord/permissions.py b/discord/permissions.py
index 1b0dd5a2..3fd0dacf 100644
--- a/discord/permissions.py
+++ b/discord/permissions.py
@@ -214,6 +214,15 @@ class Permissions(BaseFlags):
return cls(1 << 32)
@classmethod
+ def stage_moderator(cls):
+ """A factory method that creates a :class:`Permissions` with all
+ "Stage Moderator" permissions from the official Discord UI set to ``True``.
+
+ .. versionadded:: 1.7
+ """
+ return cls(0b100000001010000000000000000000000)
+
+ @classmethod
def advanced(cls):
"""A factory method that creates a :class:`Permissions` with all
"Advanced" permissions from the official Discord UI set to ``True``.
@@ -222,7 +231,6 @@ class Permissions(BaseFlags):
"""
return cls(1 << 3)
-
def update(self, **kwargs):
r"""Bulk updates this permission object.