You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: interactions/models/discord/enums.py
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -457,6 +457,8 @@ class MessageFlags(DiscordIntFlag): # type: ignore
457
457
"""This message contains a abusive website link, pops up a warning when clicked"""
458
458
SILENT=1<<12
459
459
"""This message should not trigger push or desktop notifications"""
460
+
VOICE_MESSAGE=1<<13
461
+
"""This message is a voice message"""
460
462
461
463
# Special members
462
464
NONE=0
@@ -551,6 +553,16 @@ class Permissions(DiscordIntFlag): # type: ignore
551
553
"""Allows for using Activities (applications with the `EMBEDDED` flag) in a voice channel"""
552
554
MODERATE_MEMBERS=1<<40
553
555
"""Allows for timing out users to prevent them from sending or reacting to messages in chat and threads, and from speaking in voice and stage channels"""
556
+
VIEW_CREATOR_MONETIZATION_ANALYTICS=1<<41
557
+
"""Allows for viewing guild monetization insights"""
558
+
USE_SOUNDBOARD=1<<42
559
+
"""Allows for using the soundboard in a voice channel"""
560
+
CREATE_GUILD_EXPRESSIONS=1<<43
561
+
"""Allows for creating emojis, stickers, and soundboard sounds"""
562
+
USE_EXTERNAL_SOUNDS=1<<45
563
+
"""Allows the usage of custom sounds from other servers"""
564
+
SEND_VOICE_MESSAGES=1<<46
565
+
"""Allows for sending audio messages"""
554
566
555
567
# Shortcuts/grouping/aliases
556
568
REQUIRES_MFA= (
@@ -780,6 +792,8 @@ class SystemChannelFlags(DiscordIntFlag):
780
792
classChannelFlags(DiscordIntFlag):
781
793
PINNED=1<<1
782
794
""" Thread is pinned to the top of its parent forum channel """
795
+
CLYDE_THREAD=1<<8
796
+
"""This thread was created by Clyde"""
783
797
784
798
# Special members
785
799
NONE=0
@@ -964,6 +978,7 @@ class AuditLogEventType(CursedIntEnum):
964
978
ONBOARDING_UPDATE=167
965
979
GUILD_HOME_FEATURE_ITEM=171
966
980
GUILD_HOME_FEATURE_ITEM_UPDATE=172
981
+
BLOCKED_PHISHING_LINK=180
967
982
SERVER_GUIDE_CREATE=190
968
983
SERVER_GUIDE_UPDATE=191
969
984
@@ -974,16 +989,19 @@ class AutoModTriggerType(CursedIntEnum):
0 commit comments