Enums

discord_http.enums module

class discord_http.enums.ApplicationCommandType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

chat_input = 1
message = 3
user = 2
class discord_http.enums.AuditLogType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

application_command_permission_update = 121
auto_moderation_block_message = 143
auto_moderation_flag_to_channel = 144
auto_moderation_rule_create = 140
auto_moderation_rule_delete = 142
auto_moderation_rule_update = 141
auto_moderation_user_communication_disabled = 145
bot_add = 28
channel_create = 10
channel_delete = 12
channel_overwrite_create = 13
channel_overwrite_delete = 15
channel_overwrite_update = 14
channel_update = 11
creator_monetization_request_created = 150
creator_monetization_terms_accepted = 151
emoji_create = 60
emoji_delete = 62
emoji_update = 61
guild_scheduled_event_create = 100
guild_scheduled_event_delete = 102
guild_scheduled_event_update = 101
guild_update = 1
integration_create = 80
integration_delete = 82
integration_update = 81
invite_create = 40
invite_delete = 42
invite_update = 41
member_ban_add = 22
member_ban_remove = 23
member_disconnect = 27
member_kick = 20
member_move = 26
member_prune = 21
member_role_update = 25
member_update = 24
message_bulk_delete = 73
message_delete = 72
message_pin = 74
message_unpin = 75
role_create = 30
role_delete = 32
role_update = 31
stage_instance_create = 83
stage_instance_delete = 85
stage_instance_update = 84
sticker_create = 90
sticker_delete = 92
sticker_update = 91
thread_create = 110
thread_delete = 112
thread_update = 111
webhook_create = 50
webhook_delete = 52
webhook_update = 51
class discord_http.enums.ButtonStyles(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

blurple = 1
danger = 4
destructive = 4
gray = 2
green = 3
grey = 2
premium = 6
primary = 1
red = 4
secondary = 2
success = 3
url = 5
class discord_http.enums.ChannelType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

dm = 1
group_dm = 3
guild_category = 4
guild_directory = 14
guild_forum = 15
guild_news = 5
guild_news_thread = 10
guild_private_thread = 12
guild_public_thread = 11
guild_stage_voice = 13
guild_store = 6
guild_text = 0
guild_voice = 2
unknown = -1
class discord_http.enums.CommandOptionType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

attachment = 11
boolean = 5
channel = 7
integer = 4
mentionable = 9
number = 10
role = 8
string = 3
sub_command = 1
sub_command_group = 2
user = 6
class discord_http.enums.ComponentType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

action_row = 1
button = 2
channel_select = 8
mentionable_select = 7
role_select = 6
string_select = 3
text_input = 4
user_select = 5
class discord_http.enums.ContentFilterLevel(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

all_members = 2
disabled = 0
members_without_roles = 1
class discord_http.enums.DefaultNotificationLevel(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

all_messages = 0
only_mentions = 1
class discord_http.enums.EntitlementOwnerType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

guild = 1
user = 2
class discord_http.enums.EntitlementType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

application_subscription = 8
developer_gift = 3
free_purchase = 5
premium_purchase = 7
premium_subscription = 2
purchase = 1
test_mode_purchase = 4
user_gift = 6
class discord_http.enums.ForumLayoutType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

gallery_view = 2
list_view = 1
not_set = 0
class discord_http.enums.IntegrationType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

guild = 0
user = 1
class discord_http.enums.InteractionType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

application_command = 2
application_command_autocomplete = 4
message_component = 3
modal_submit = 5
ping = 1
class discord_http.enums.InviteType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

dm = 2
group = 1
guild = 0
unknown = 3
class discord_http.enums.MFALevel(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

elevated = 1
none = 0
class discord_http.enums.ResponseType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

application_command_autocomplete_result = 8
channel_message_with_source = 4
deferred_channel_message_with_source = 5
deferred_update_message = 6
modal = 9
pong = 1
update_message = 7
class discord_http.enums.SKUType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

consumable = 3
durable = 2
subscription = 5
subscription_group = 6
class discord_http.enums.ScheduledEventEntityType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

external = 3
stage_instance = 1
voice = 2
class discord_http.enums.ScheduledEventPrivacyType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

guild_only = 2
class discord_http.enums.ScheduledEventStatusType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

active = 2
canceled = 4
completed = 3
scheduled = 1
class discord_http.enums.SortOrderType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

creation_date = 1
latest_activity = 0
class discord_http.enums.StickerFormatType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

apng = 2
gif = 4
lottie = 3
png = 1
class discord_http.enums.StickerType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

guild = 2
standard = 1
class discord_http.enums.TextStyles(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

paragraph = 2
short = 1
class discord_http.enums.VerificationLevel(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

high = 3
low = 1
medium = 2
none = 0
very_high = 4
class discord_http.enums.VideoQualityType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

auto = 1
full = 2