Enums¶
Message¶
message
¶
MessageReferenceType
¶
Bases: DiscordTypes
flowchart TD
scurrypy.enums.message.MessageReferenceType[MessageReferenceType]
scurrypy.enums.enum_types.DiscordTypes[DiscordTypes]
scurrypy.enums.enum_types.DiscordTypes --> scurrypy.enums.message.MessageReferenceType
click scurrypy.enums.message.MessageReferenceType href "" "scurrypy.enums.message.MessageReferenceType"
click scurrypy.enums.enum_types.DiscordTypes href "" "scurrypy.enums.enum_types.DiscordTypes"
Constants associated with how reference data is populated.
MessageFlags
¶
Bases: DiscordFlags
flowchart TD
scurrypy.enums.message.MessageFlags[MessageFlags]
scurrypy.enums.enum_types.DiscordFlags[DiscordFlags]
scurrypy.enums.enum_types.DiscordFlags --> scurrypy.enums.message.MessageFlags
click scurrypy.enums.message.MessageFlags href "" "scurrypy.enums.message.MessageFlags"
click scurrypy.enums.enum_types.DiscordFlags href "" "scurrypy.enums.enum_types.DiscordFlags"
Flags that can be applied to a message.
NO_FLAGS = 0
class-attribute
instance-attribute
¶
Message has no flags.
CROSSPOSTED = 1 << 0
class-attribute
instance-attribute
¶
Message has been published.
IS_CROSSPOST = 1 << 1
class-attribute
instance-attribute
¶
Message originated from another channel.
SUPPRESS_EMBEDS = 1 << 2
class-attribute
instance-attribute
¶
Hide embeds.
SOURCE_MESSAGE_DELETED = 1 << 3
class-attribute
instance-attribute
¶
Source message for this crosspost has been deleted.
URGENT = 1 << 4
class-attribute
instance-attribute
¶
This message came from the urgent message system.
HAS_THREAD = 1 << 5
class-attribute
instance-attribute
¶
This message has an associated thread, with the same id as the message.
EPHEMERAL = 1 << 6
class-attribute
instance-attribute
¶
Only visible to the invoking user.
LOADING = 1 << 7
class-attribute
instance-attribute
¶
This message is an Interaction Response and the bot is \“thinking.\”
FAILED_TO_MENTION_SOME_ROLES_IN_THREAD = 1 << 8
class-attribute
instance-attribute
¶
This message failed to mention some roles and add their members to the thread.
SUPPRESS_NOTIFICATIONS = 1 << 12
class-attribute
instance-attribute
¶
This message will not trigger push and desktop notifications.
IS_VOICE_MESSAGE = 1 << 13
class-attribute
instance-attribute
¶
This message is a voice message.
IS_COMPONENTS_V2 = 1 << 15
class-attribute
instance-attribute
¶
This message includes Discord's V2 Components.
MessageType
¶
Bases: DiscordTypes
flowchart TD
scurrypy.enums.message.MessageType[MessageType]
scurrypy.enums.enum_types.DiscordTypes[DiscordTypes]
scurrypy.enums.enum_types.DiscordTypes --> scurrypy.enums.message.MessageType
click scurrypy.enums.message.MessageType href "" "scurrypy.enums.message.MessageType"
click scurrypy.enums.enum_types.DiscordTypes href "" "scurrypy.enums.enum_types.DiscordTypes"
Tyoes of messages.
DEFAULT = 0
class-attribute
instance-attribute
¶
This message is a default message.
CHANNEL_PINNED_MESSAGE = 6
class-attribute
instance-attribute
¶
This message is pinned to its channel.
GUILD_BOOST = 8
class-attribute
instance-attribute
¶
This message resulted from a guild boost.
GUILD_BOOST_TIER_1 = 9
class-attribute
instance-attribute
¶
This message resulted from a guild boost Tier 1.
GUILD_BOOST_TIER_2 = 10
class-attribute
instance-attribute
¶
This message resulted from a guild boost Tier 2.
GUILD_BOOST_TIER_3 = 11
class-attribute
instance-attribute
¶
This message resulted from a guild boost Tier 3.
CHANNEL_FOLLOW_ADD = 12
class-attribute
instance-attribute
¶
This message resulted from a guild following a channel.
GUILD_DISCOVERY_DISQUALIFIED = 14
class-attribute
instance-attribute
¶
This message resulted from a guild losing Discovery.
GUILD_DISCOVERY_REQUALIFIED = 15
class-attribute
instance-attribute
¶
This message resulted from a guild requalifying for Discovery.
GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING = 16
class-attribute
instance-attribute
¶
This message resulted from a Discovery Grace Period initial warning.
GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING = 17
class-attribute
instance-attribute
¶
This message resulted from a Discovery Grace Period final warning.
THREAD_CREATED = 18
class-attribute
instance-attribute
¶
This message has a thread attached.
REPLY = 19
class-attribute
instance-attribute
¶
This message has a reply attached.
CHAT_INPUT_COMMAND = 20
class-attribute
instance-attribute
¶
This message resulted from a slash command.
THREAD_STARTER_MESSAGE = 21
class-attribute
instance-attribute
¶
This message is a thread starter message.
GUILD_INVITE_REMINDER = 22
class-attribute
instance-attribute
¶
This message resulted from a guild invite reminder.
CONTEXT_MENU_COMMAND = 23
class-attribute
instance-attribute
¶
This message resulted from a context menu command.
AUTO_MODERATION_ACTION = 24
class-attribute
instance-attribute
¶
This message resulted from an auto moderation action.
POLL_RESULT = 46
class-attribute
instance-attribute
¶
This message is a poll.
Attachment¶
attachment
¶
AttachmentFlags
¶
Bases: DiscordFlags
flowchart TD
scurrypy.enums.attachment.AttachmentFlags[AttachmentFlags]
scurrypy.enums.enum_types.DiscordFlags[DiscordFlags]
scurrypy.enums.enum_types.DiscordFlags --> scurrypy.enums.attachment.AttachmentFlags
click scurrypy.enums.attachment.AttachmentFlags href "" "scurrypy.enums.attachment.AttachmentFlags"
click scurrypy.enums.enum_types.DiscordFlags href "" "scurrypy.enums.enum_types.DiscordFlags"
Flags associated with an attachment.
IS_CLIP = 1 << 0
class-attribute
instance-attribute
¶
This attachment is a Clip from a stream.
IS_THUMBNAIL = 1 << 1
class-attribute
instance-attribute
¶
This attachment is the thumbnail of a thread in a media channel. Displayed in the grid but not on the message.
IS_SPOILER = 1 << 3
class-attribute
instance-attribute
¶
This attachment was marked as a spoiler and is blurred until clicked.
IS_ANIMATED = 1 << 5
class-attribute
instance-attribute
¶
This attachment is an animated image.