from dubious.discord import req

class dubious.discord.req.GetGlobalApplicationCommands(application_id: 'InitVar[str]', query: 'GetGlobalApplicationCommands.Query | None' = None)
class Query(*, with_localizations: 'bool | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGlobalApplicationCommand(application_id: 'InitVar[str]', form: 'CreateGlobalApplicationCommand.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
name_localizations: 'dict[str, str] | None' = None,
description: 'str | None' = None,
description_localizations: 'dict[str, str] | None' = None,
options: 'list[ApplicationCommandOption] | None' = None,
default_member_permissions: 'str | None' = None,
dm_permission: 'bool | None' = None,
default_permission: 'bool | None' = None,
type: 'ApplicationCommandType | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGlobalApplicationCommand(application_id: 'InitVar[str]', command_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.EditGlobalApplicationCommand(application_id: 'InitVar[str]', command_id: 'InitVar[str]', form: 'EditGlobalApplicationCommand.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
name_localizations: 'dict[str, str] | None' = None,
description: 'str | None' = None,
description_localizations: 'dict[str, str] | None' = None,
options: 'list[ApplicationCommandOption] | None' = None,
default_member_permissions: 'str | None' = None,
dm_permission: 'bool | None' = None,
default_permission: 'bool | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteGlobalApplicationCommand(application_id: 'InitVar[str]', command_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.BulkOverwriteGlobalApplicationCommands(application_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildApplicationCommands(application_id: 'InitVar[str]', guild_id: 'InitVar[str]', query: 'GetGuildApplicationCommands.Query | None' = None)
class Query(*, with_localizations: 'bool | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuildApplicationCommand(application_id: 'InitVar[str]', guild_id: 'InitVar[str]', form: 'CreateGuildApplicationCommand.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
name_localizations: 'dict[str, str] | None' = None,
description: 'str | None' = None,
description_localizations: 'dict[str, str] | None' = None,
options: 'list[ApplicationCommandOption] | None' = None,
default_member_permissions: 'str | None' = None,
default_permission: 'bool | None' = None,
type: 'ApplicationCommandType | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildApplicationCommand(application_id: 'InitVar[str]', guild_id: 'InitVar[str]', command_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.EditGuildApplicationCommand(application_id: 'InitVar[str]', guild_id: 'InitVar[str]', command_id: 'InitVar[str]', form: 'EditGuildApplicationCommand.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
name_localizations: 'dict[str, str] | None' = None,
description: 'str | None' = None,
description_localizations: 'dict[str, str] | None' = None,
options: 'list[ApplicationCommandOption] | None' = None,
default_member_permissions: 'str | None' = None,
default_permission: 'bool | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteGuildApplicationCommand(application_id: 'InitVar[str]', guild_id: 'InitVar[str]', command_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.BulkOverwriteGuildApplicationCommands(application_id: 'InitVar[str]', guild_id: 'InitVar[str]', form: 'BulkOverwriteGuildApplicationCommands.Form | None' = None)
class Form(
*,
id: 'Snowflake | None' = None,
name: 'str | None' = None,
name_localizations: 'dict[str, str] | None' = None,
description: 'str | None' = None,
description_localizations: 'dict[str, str] | None' = None,
options: 'list[ApplicationCommandOption] | None' = None,
default_member_permissions: 'str | None' = None,
dm_permission: 'bool | None' = None,
default_permission: 'bool | None' = None,
type: 'ApplicationCommandType | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildApplicationCommandPermissions(application_id: 'InitVar[str]', guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetApplicationCommandPermissions(application_id: 'InitVar[str]', guild_id: 'InitVar[str]', command_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.EditApplicationCommandPermissions(application_id: 'InitVar[str]', guild_id: 'InitVar[str]', command_id: 'InitVar[str]', form: 'EditApplicationCommandPermissions.Form | None' = None)
class Form(*, permissions: 'list[ApplicationCommandPermission] | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateInteractionResponse(interaction_id: 'InitVar[str]', interaction_token: 'InitVar[str]', form: 'InteractionResponse | None' = None)
form: InteractionResponse | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateStageInstance(form: 'CreateStageInstance.Form | None' = None)
class Form(*, channel_id: 'Snowflake | None' = None, topic: 'str | None' = None, privacy_level: 'int | None' = None, send_start_notification: 'bool | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/stage-instances'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetStageInstance(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyStageInstance(channel_id: 'InitVar[str]', form: 'ModifyStageInstance.Form | None' = None)
class Form(*, topic: 'str | None' = None, privacy_level: 'int | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteStageInstance(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ListAutoModerationRulesForGuild(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetAutoModerationRule(guild_id: 'InitVar[str]', auto_moderation_rule_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateAutoModerationRule(guild_id: 'InitVar[str]', form: 'CreateAutoModerationRule.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
event_type: 'int | None' = None,
trigger_type: 'int | None' = None,
trigger_metadata: 'object | None' = None,
actions: 'list[AutoModerationAction] | None' = None,
enabled: 'bool | None' = None,
exempt_roles: 'list[Snowflake] | None' = None,
exempt_channels: 'list[Snowflake] | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyAutoModerationRule(guild_id: 'InitVar[str]', auto_moderation_rule_id: 'InitVar[str]', form: 'ModifyAutoModerationRule.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
event_type: 'int | None' = None,
trigger_metadata: 'object | None' = None,
actions: 'list[AutoModerationAction] | None' = None,
enabled: 'bool | None' = None,
exempt_roles: 'list[Snowflake] | None' = None,
exempt_channels: 'list[Snowflake] | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteAutoModerationRule(guild_id: 'InitVar[str]', auto_moderation_rule_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetChannel(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyChannel(channel_id: 'InitVar[str]', form: 'ModifyChannel.Form_GroupDM | ModifyChannel.Form_GuildChannel | ModifyChannel.Form_Thread | None' = None)
class Form_GroupDM(*, name: 'str | None' = None, icon: 'bytes | None' = None)
class Form_GuildChannel(
*,
name: 'str | None' = None,
type: 'int | None' = None,
position: 'int | None | None' = None,
topic: 'str | None | None' = None,
nsfw: 'bool | None | None' = None,
rate_limit_per_user: 'int | None | None' = None,
bitrate: 'int | None | None' = None,
user_limit: 'int | None | None' = None,
permission_overwrites: 'list[Overwrite] | None' = None,
parent_id: 'Snowflake | None | None' = None,
rtc_region: 'str | None | None' = None,
video_quality_mode: 'int | None | None' = None,
default_auto_archive_duration: 'int | None | None' = None,
flags: 'int | None' = None,
available_tags: 'list[ForumTag] | None' = None,
default_reaction_emoji: 'DefaultReaction | None' = None,
default_thread_rate_limit_per_user: 'int | None' = None,
default_sort_order: 'int | None' = None,
)
class Form_Thread(
*,
name: 'str | None' = None,
archived: 'bool | None' = None,
auto_archive_duration: 'int | None' = None,
locked: 'bool | None' = None,
invitable: 'bool | None' = None,
rate_limit_per_user: 'int | None | None' = None,
flags: 'int | None' = None,
applied_tags: 'list[Snowflake] | None' = None,
)
form: Form_GroupDM | Form_GuildChannel | Form_Thread | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteOrCloseChannel(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetChannelMessages(channel_id: 'InitVar[str]', query: 'GetChannelMessages.Query | None' = None)
class Query(*, around: 'Snowflake | None' = None, before: 'Snowflake | None' = None, after: 'Snowflake | None' = None, limit: 'int | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetChannelMessage(channel_id: 'InitVar[str]', message_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateMessage(channel_id: 'InitVar[str]', form: 'CreateMessage.Form | None' = None)
class Form(
*,
content: 'str | None' = None,
nonce: 'int | str | None' = None,
tts: 'bool | None' = None,
embeds: 'list[Embed] | None' = None,
allowed_mentions: 'AllowedMentions | None' = None,
message_reference: 'MessageReference | None' = None,
components: 'list[MessageComponent] | None' = None,
sticker_ids: 'list[Snowflake] | None' = None,
payload_json: 'str | None' = None,
attachments: 'list[Attachment] | None' = None,
flags: 'int | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CrosspostMessage(channel_id: 'InitVar[str]', message_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateReaction(channel_id: 'InitVar[str]', message_id: 'InitVar[str]', emoji: 'InitVar[str]')
method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteOwnReaction(channel_id: 'InitVar[str]', message_id: 'InitVar[str]', emoji: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteUserReaction(channel_id: 'InitVar[str]', message_id: 'InitVar[str]', emoji: 'InitVar[str]', user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetReactions(channel_id: 'InitVar[str]', message_id: 'InitVar[str]', emoji: 'InitVar[str]', query: 'GetReactions.Query | None' = None)
class Query(*, after: 'Snowflake | None' = None, limit: 'int | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteAllReactions(channel_id: 'InitVar[str]', message_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteAllReactionsForEmoji(channel_id: 'InitVar[str]', message_id: 'InitVar[str]', emoji: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.EditMessage(channel_id: 'InitVar[str]', message_id: 'InitVar[str]', form: 'EditMessage.Form | None' = None)
class Form(
*,
content: 'str | None' = None,
embeds: 'list[Embed] | None' = None,
flags: 'int | None' = None,
allowed_mentions: 'AllowedMentions | None' = None,
components: 'list[MessageComponent] | None' = None,
payload_json: 'str | None' = None,
attachments: 'list[Attachment] | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteMessage(channel_id: 'InitVar[str]', message_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.BulkDeleteMessages(channel_id: 'InitVar[str]', form: 'BulkDeleteMessages.Form | None' = None)
class Form(*, messages: 'list[Snowflake] | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.EditChannelPermissions(channel_id: 'InitVar[str]', overwrite_id: 'InitVar[str]', form: 'EditChannelPermissions.Form | None' = None)
class Form(*, allow: 'str | None' = None, deny: 'str | None' = None, type: 'int | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetChannelInvites(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateChannelInvite(channel_id: 'InitVar[str]', form: 'CreateChannelInvite.Form | None' = None)
class Form(
*,
max_age: 'int | None' = None,
max_uses: 'int | None' = None,
temporary: 'bool | None' = None,
unique: 'bool | None' = None,
target_type: 'int | None' = None,
target_user_id: 'Snowflake | None' = None,
target_application_id: 'Snowflake | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteChannelPermission(channel_id: 'InitVar[str]', overwrite_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.FollowAnnouncementChannel(channel_id: 'InitVar[str]', form: 'FollowAnnouncementChannel.Form | None' = None)
class Form(*, webhook_channel_id: 'Snowflake | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.TriggerTypingIndicator(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetPinnedMessages(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.PinMessage(channel_id: 'InitVar[str]', message_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.UnpinMessage(channel_id: 'InitVar[str]', message_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GroupDMAddRecipient(channel_id: 'InitVar[str]', user_id: 'InitVar[str]', form: 'GroupDMAddRecipient.Form | None' = None)
class Form(*, access_token: 'str | None' = None, nick: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GroupDMRemoveRecipient(channel_id: 'InitVar[str]', user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.StartThreadFromMessage(channel_id: 'InitVar[str]', message_id: 'InitVar[str]', form: 'StartThreadFromMessage.Form | None' = None)
class Form(*, name: 'str | None' = None, auto_archive_duration: 'int | None' = None, rate_limit_per_user: 'int | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.StartThreadWithoutMessage(channel_id: 'InitVar[str]', form: 'StartThreadWithoutMessage.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
auto_archive_duration: 'int | None' = None,
type: 'int | None' = None,
invitable: 'bool | None' = None,
rate_limit_per_user: 'int | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.StartThreadInForumChannel(channel_id: 'InitVar[str]', form: 'StartThreadInForumChannel.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
auto_archive_duration: 'int | None' = None,
rate_limit_per_user: 'int | None' = None,
message: 'ForumThreadMessageParams | None' = None,
applied_tags: 'list[Snowflake] | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.JoinThread(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.AddThreadMember(channel_id: 'InitVar[str]', user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.LeaveThread(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.RemoveThreadMember(channel_id: 'InitVar[str]', user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetThreadMember(channel_id: 'InitVar[str]', user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ListThreadMembers(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.Response_ListPublicArchivedThreads(*, threads: 'list[Channel] | None' = None, members: 'list[ThreadMember] | None' = None, has_more: 'bool | None' = None)
class dubious.discord.req.ListPublicArchivedThreads(channel_id: 'InitVar[str]', query: 'ListPublicArchivedThreads.Query | None' = None)
class Query(*, before: 'str | None' = None, limit: 'int | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.Response_ListPrivateArchivedThreads(*, threads: 'list[Channel] | None' = None, members: 'list[ThreadMember] | None' = None, has_more: 'bool | None' = None)
class dubious.discord.req.ListPrivateArchivedThreads(channel_id: 'InitVar[str]', query: 'ListPrivateArchivedThreads.Query | None' = None)
class Query(*, before: 'str | None' = None, limit: 'int | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.Response_ListJoinedPrivateArchivedThreads(*, threads: 'list[Channel] | None' = None, members: 'list[ThreadMember] | None' = None, has_more: 'bool | None' = None)
class dubious.discord.req.ListJoinedPrivateArchivedThreads(channel_id: 'InitVar[str]', query: 'ListJoinedPrivateArchivedThreads.Query | None' = None)
class Query(*, before: 'Snowflake | None' = None, limit: 'int | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetSticker(sticker_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.Response_ListNitroStickerPacks(*, sticker_packs: 'list[StickerPack] | None' = None)
class dubious.discord.req.ListNitroStickerPacks
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/sticker-packs'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ListGuildStickers(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildSticker(guild_id: 'InitVar[str]', sticker_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuildSticker(guild_id: 'InitVar[str]', form: 'CreateGuildSticker.Form | None' = None)
class Form(*, name: 'str | None' = None, description: 'str | None' = None, tags: 'str | None' = None, file: 'Any | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildSticker(guild_id: 'InitVar[str]', sticker_id: 'InitVar[str]', form: 'ModifyGuildSticker.Form | None' = None)
class Form(*, name: 'str | None' = None, description: 'str | None | None' = None, tags: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteGuildSticker(guild_id: 'InitVar[str]', sticker_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ListScheduledEventsForGuild(guild_id: 'InitVar[str]', query: 'ListScheduledEventsForGuild.Query | None' = None)
class Query(*, with_user_count: 'bool | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuildScheduledEvent(guild_id: 'InitVar[str]', form: 'CreateGuildScheduledEvent.Form | None' = None)
class Form(
*,
channel_id: 'Snowflake | None' = None,
entity_metadata: 'GuildScheduledEventEntityMetadata | None' = None,
name: 'str | None' = None,
privacy_level: 'GuildScheduledEventPrivacyLevel | None' = None,
scheduled_start_time: 'str | None' = None,
scheduled_end_time: 'str | None' = None,
description: 'str | None' = None,
entity_type: 'GuildScheduledEventEntityType | None' = None,
image: 'str | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildScheduledEvent(guild_id: 'InitVar[str]', guild_scheduled_event_id: 'InitVar[str]', query: 'GetGuildScheduledEvent.Query | None' = None)
class Query(*, with_user_count: 'bool | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildScheduledEvent(guild_id: 'InitVar[str]', guild_scheduled_event_id: 'InitVar[str]', form: 'ModifyGuildScheduledEvent.Form | None' = None)
class Form(
*,
channel_id: 'Snowflake | None' = None,
entity_metadata: 'GuildScheduledEventEntityMetadata | None' = None,
name: 'str | None' = None,
privacy_level: 'GuildScheduledEventPrivacyLevel | None' = None,
scheduled_start_time: 'str | None' = None,
scheduled_end_time: 'str | None' = None,
description: 'str | None' = None,
entity_type: 'GuildScheduledEventEntityType | None' = None,
status: 'GuildScheduledEventStatusType | None' = None,
image: 'str | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteGuildScheduledEvent(guild_id: 'InitVar[str]', guild_scheduled_event_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildScheduledEventUsers(guild_id: 'InitVar[str]', guild_scheduled_event_id: 'InitVar[str]', query: 'GetGuildScheduledEventUsers.Query | None' = None)
class Query(*, limit: 'int | None' = None, with_member: 'bool | None' = None, before: 'Snowflake | None' = None, after: 'Snowflake | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateWebhook(channel_id: 'InitVar[str]', form: 'CreateWebhook.Form | None' = None)
class Form(*, name: 'str | None' = None, avatar: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetChannelWebhooks(channel_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildWebhooks(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetWebhook(webhook_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetWebhookWithToken(webhook_id: 'InitVar[str]', webhook_token: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyWebhook(webhook_id: 'InitVar[str]', form: 'ModifyWebhook.Form | None' = None)
class Form(*, name: 'str | None' = None, avatar: 'str | None | None' = None, channel_id: 'Snowflake | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyWebhookWithToken(webhook_id: 'InitVar[str]', webhook_token: 'InitVar[str]')
method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteWebhook(webhook_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteWebhookWithToken(webhook_id: 'InitVar[str]', webhook_token: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ExecuteWebhook(webhook_id: 'InitVar[str]', webhook_token: 'InitVar[str]', query: 'ExecuteWebhook.Query | None' = None, form: 'ExecuteWebhook.Form | None' = None)
class Query(*, wait: 'bool | None' = None, thread_id: 'Snowflake | None' = None)
class Form(
*,
content: 'str | None' = None,
username: 'str | None' = None,
avatar_url: 'str | None' = None,
tts: 'bool | None' = None,
embeds: 'list[Embed] | None' = None,
allowed_mentions: 'AllowedMentions | None' = None,
components: 'list[MessageComponent] | None' = None,
payload_json: 'str | None' = None,
attachments: 'list[Attachment] | None' = None,
flags: 'int | None' = None,
thread_name: 'str | None' = None,
)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ExecuteSlackCompatibleWebhook(webhook_id: 'InitVar[str]', webhook_token: 'InitVar[str]', query: 'ExecuteSlackCompatibleWebhook.Query | None' = None)
class Query(*, thread_id: 'Snowflake | None' = None, wait: 'bool | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ExecuteGitHubCompatibleWebhook(webhook_id: 'InitVar[str]', webhook_token: 'InitVar[str]', query: 'ExecuteGitHubCompatibleWebhook.Query | None' = None)
class Query(*, thread_id: 'Snowflake | None' = None, wait: 'bool | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetWebhookMessage(webhook_id: 'InitVar[str]', webhook_token: 'InitVar[str]', message_id: 'InitVar[str]', query: 'GetWebhookMessage.Query | None' = None)
class Query(*, thread_id: 'Snowflake | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.EditWebhookMessage(
webhook_id: 'InitVar[str]',
webhook_token: 'InitVar[str]',
message_id: 'InitVar[str]',
query: 'EditWebhookMessage.Query | None' = None,
form: 'EditWebhookMessage.Form | None' = None,
)
class Query(*, thread_id: 'Snowflake | None' = None)
class Form(
*,
content: 'str | None' = None,
embeds: 'list[Embed] | None' = None,
allowed_mentions: 'AllowedMentions | None' = None,
components: 'list[MessageComponent] | None' = None,
payload_json: 'str | None' = None,
attachments: 'list[Attachment] | None' = None,
)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteWebhookMessage(webhook_id: 'InitVar[str]', webhook_token: 'InitVar[str]', message_id: 'InitVar[str]', query: 'DeleteWebhookMessage.Query | None' = None)
class Query(*, thread_id: 'Snowflake | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetInvite(invite_code: 'InitVar[str]', query: 'GetInvite.Query | None' = None)
class Query(*, with_counts: 'bool | None' = None, with_expiration: 'bool | None' = None, guild_scheduled_event_id: 'Snowflake | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteInvite(invite_code: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetCurrentUser
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/users/@me'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetUser(user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyCurrentUser(form: 'ModifyCurrentUser.Form | None' = None)
class Form(*, username: 'str | None' = None, avatar: 'str | None | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/users/@me'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetCurrentUserGuilds
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/users/@me/guilds'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetCurrentUserGuildMember(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.LeaveGuild(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateDM(form: 'CreateDM.Form | None' = None)
class Form(*, recipient_id: 'Snowflake | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/users/@me/channels'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGroupDM(form: 'CreateGroupDM.Form | None' = None)
class Form(*, access_tokens: 'list[str] | None' = None, nicks: 'dict | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/users/@me/channels'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetUserConnections
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/users/@me/connections'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildAuditLog(guild_id: 'InitVar[str]', query: 'GetGuildAuditLog.Query | None' = None)
class Query(*, user_id: 'Snowflake | None' = None, action_type: 'int | None' = None, before: 'Snowflake | None' = None, limit: 'int | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ListVoiceRegions
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/voice/regions'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuild(form: 'CreateGuild.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
region: 'str | None' = None,
icon: 'str | None' = None,
verification_level: 'int | None' = None,
default_message_notifications: 'int | None' = None,
explicit_content_filter: 'int | None' = None,
roles: 'list[Role] | None' = None,
channels: 'list[Channel] | None' = None,
afk_channel_id: 'Snowflake | None' = None,
afk_timeout: 'int | None' = None,
system_channel_id: 'Snowflake | None' = None,
system_channel_flags: 'int | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/guilds'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuild(guild_id: 'InitVar[str]', query: 'GetGuild.Query | None' = None)
class Query(*, with_counts: 'bool | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildPreview(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuild(guild_id: 'InitVar[str]', form: 'ModifyGuild.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
region: 'str | None | None' = None,
verification_level: 'int | None | None' = None,
default_message_notifications: 'int | None | None' = None,
explicit_content_filter: 'int | None | None' = None,
afk_channel_id: 'Snowflake | None | None' = None,
afk_timeout: 'int | None' = None,
icon: 'str | None | None' = None,
owner_id: 'Snowflake | None' = None,
splash: 'str | None | None' = None,
discovery_splash: 'str | None | None' = None,
banner: 'str | None | None' = None,
system_channel_id: 'Snowflake | None | None' = None,
system_channel_flags: 'int | None' = None,
rules_channel_id: 'Snowflake | None | None' = None,
public_updates_channel_id: 'Snowflake | None | None' = None,
preferred_locale: 'str | None | None' = None,
features: 'list[GuildFeature] | None' = None,
description: 'str | None | None' = None,
premium_progress_bar_enabled: 'bool | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteGuild(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildChannels(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuildChannel(guild_id: 'InitVar[str]', form: 'CreateGuildChannel.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
type: 'int | None' = None,
topic: 'str | None' = None,
bitrate: 'int | None' = None,
user_limit: 'int | None' = None,
rate_limit_per_user: 'int | None' = None,
position: 'int | None' = None,
permission_overwrites: 'list[Overwrite] | None' = None,
parent_id: 'Snowflake | None' = None,
nsfw: 'bool | None' = None,
rtc_region: 'str | None' = None,
video_quality_mode: 'int | None' = None,
default_auto_archive_duration: 'int | None' = None,
default_reaction_emoji: 'DefaultReaction | None' = None,
available_tags: 'list[ForumTag] | None' = None,
default_sort_order: 'int | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildChannelPositions(guild_id: 'InitVar[str]', form: 'ModifyGuildChannelPositions.Form | None' = None)
class Form(*, id: 'Snowflake | None' = None, position: 'int | None | None' = None, lock_permissions: 'bool | None | None' = None, parent_id: 'Snowflake | None | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.Response_ListActiveGuildThreads(*, threads: 'list[Channel] | None' = None, members: 'list[ThreadMember] | None' = None)
class dubious.discord.req.ListActiveGuildThreads(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildMember(guild_id: 'InitVar[str]', user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ListGuildMembers(guild_id: 'InitVar[str]', query: 'ListGuildMembers.Query | None' = None)
class Query(*, limit: 'int | None' = None, after: 'Snowflake | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.SearchGuildMembers(guild_id: 'InitVar[str]', query: 'SearchGuildMembers.Query | None' = None)
class Query(*, query: 'str | None' = None, limit: 'int | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.AddGuildMember(guild_id: 'InitVar[str]', user_id: 'InitVar[str]', form: 'AddGuildMember.Form | None' = None)
class Form(*, access_token: 'str | None' = None, nick: 'str | None' = None, roles: 'list[Snowflake] | None' = None, mute: 'bool | None' = None, deaf: 'bool | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildMember(guild_id: 'InitVar[str]', user_id: 'InitVar[str]', form: 'ModifyGuildMember.Form | None' = None)
class Form(
*,
nick: 'str | None' = None,
roles: 'list[Snowflake] | None' = None,
mute: 'bool | None' = None,
deaf: 'bool | None' = None,
channel_id: 'Snowflake | None' = None,
communication_disabled_until: 'str | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyCurrentMember(guild_id: 'InitVar[str]', form: 'ModifyCurrentMember.Form | None' = None)
class Form(*, nick: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyCurrentUserNick(guild_id: 'InitVar[str]', form: 'ModifyCurrentUserNick.Form | None' = None)
class Form(*, nick: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.AddGuildMemberRole(guild_id: 'InitVar[str]', user_id: 'InitVar[str]', role_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.RemoveGuildMemberRole(guild_id: 'InitVar[str]', user_id: 'InitVar[str]', role_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.RemoveGuildMember(guild_id: 'InitVar[str]', user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildBans(guild_id: 'InitVar[str]', query: 'GetGuildBans.Query | None' = None)
class Query(*, limit: 'int | None' = None, before: 'Snowflake | None' = None, after: 'Snowflake | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildBan(guild_id: 'InitVar[str]', user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuildBan(guild_id: 'InitVar[str]', user_id: 'InitVar[str]', form: 'CreateGuildBan.Form | None' = None)
class Form(*, delete_message_days: 'int | None' = None, delete_message_seconds: 'int | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.RemoveGuildBan(guild_id: 'InitVar[str]', user_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildRoles(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuildRole(guild_id: 'InitVar[str]', form: 'CreateGuildRole.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
permissions: 'str | None' = None,
color: 'int | None' = None,
hoist: 'bool | None' = None,
icon: 'str | None | None' = None,
unicode_emoji: 'str | None | None' = None,
mentionable: 'bool | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildRolePositions(guild_id: 'InitVar[str]', form: 'ModifyGuildRolePositions.Form | None' = None)
class Form(*, id: 'Snowflake | None' = None, position: 'int | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildRole(guild_id: 'InitVar[str]', role_id: 'InitVar[str]', form: 'ModifyGuildRole.Form | None' = None)
class Form(
*,
name: 'str | None' = None,
permissions: 'str | None' = None,
color: 'int | None' = None,
hoist: 'bool | None' = None,
icon: 'str | None' = None,
unicode_emoji: 'str | None' = None,
mentionable: 'bool | None' = None,
)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildMFALevel(guild_id: 'InitVar[str]', form: 'ModifyGuildMFALevel.Form | None' = None)
class Form(*, level: 'int | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteGuildRole(guild_id: 'InitVar[str]', role_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildPruneCount(guild_id: 'InitVar[str]', query: 'GetGuildPruneCount.Query | None' = None)
class Query(*, days: 'int | None' = None, include_roles: 'list[Snowflake] | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.BeginGuildPrune(guild_id: 'InitVar[str]', form: 'BeginGuildPrune.Form | None' = None)
class Form(*, days: 'int | None' = None, compute_prune_count: 'bool | None' = None, include_roles: 'list[Snowflake] | None' = None, reason: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildVoiceRegions(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildInvites(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildIntegrations(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteGuildIntegration(guild_id: 'InitVar[str]', integration_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildWidgetSettings(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildWidget(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildWidget(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildVanityURL(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildWidgetImage(guild_id: 'InitVar[str]', query: 'GetGuildWidgetImage.Query | None' = None)
class Query(*, style: 'str | None' = None)
query: Query | None = None

An object to give to the request. Acts as a query string in the URL; is given to requests.request() as the params kwarg.

method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildWelcomeScreen(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildWelcomeScreen(guild_id: 'InitVar[str]', form: 'ModifyGuildWelcomeScreen.Form | None' = None)
class Form(*, enabled: 'bool | None' = None, welcome_channels: 'list[WelcomeScreenChannel] | None' = None, description: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyCurrentUserVoiceState(guild_id: 'InitVar[str]', form: 'ModifyCurrentUserVoiceState.Form | None' = None)
class Form(*, channel_id: 'Snowflake | None' = None, suppress: 'bool | None' = None, request_to_speak_timestamp: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyUserVoiceState(guild_id: 'InitVar[str]', user_id: 'InitVar[str]', form: 'ModifyUserVoiceState.Form | None' = None)
class Form(*, channel_id: 'Snowflake | None' = None, suppress: 'bool | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildTemplate(template_code: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuildFromGuildTemplate(template_code: 'InitVar[str]', form: 'CreateGuildFromGuildTemplate.Form | None' = None)
class Form(*, name: 'str | None' = None, icon: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildTemplates(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuildTemplate(guild_id: 'InitVar[str]', form: 'CreateGuildTemplate.Form | None' = None)
class Form(*, name: 'str | None' = None, description: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.SyncGuildTemplate(guild_id: 'InitVar[str]', template_code: 'InitVar[str]')
method: t.ClassVar[Http] = 'PUT'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildTemplate(guild_id: 'InitVar[str]', template_code: 'InitVar[str]', form: 'ModifyGuildTemplate.Form | None' = None)
class Form(*, name: 'str | None' = None, description: 'str | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteGuildTemplate(guild_id: 'InitVar[str]', template_code: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ListGuildEmojis(guild_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetGuildEmoji(guild_id: 'InitVar[str]', emoji_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.CreateGuildEmoji(guild_id: 'InitVar[str]', form: 'CreateGuildEmoji.Form | None' = None)
class Form(*, name: 'str | None' = None, image: 'str | None' = None, roles: 'list[Snowflake] | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'POST'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.ModifyGuildEmoji(guild_id: 'InitVar[str]', emoji_id: 'InitVar[str]', form: 'ModifyGuildEmoji.Form | None' = None)
class Form(*, name: 'str | None' = None, roles: 'list[Snowflake] | None' = None)
form: Form | None = None

An object to give to the request. Acts as a json string in the request’s body; is given to requests.request() as the json kwarg.

method: t.ClassVar[Http] = 'PATCH'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.DeleteGuildEmoji(guild_id: 'InitVar[str]', emoji_id: 'InitVar[str]')
method: t.ClassVar[Http] = 'DELETE'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.GetCurrentBotApplicationInformation
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/oauth2/applications/@me'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.

class dubious.discord.req.Response_GetCurrentAuthorizationInformation(*, application: 'Application | None' = None, scopes: 'list[str] | None' = None, expires: 'str | None' = None, user: 'User | None' = None)
class dubious.discord.req.GetCurrentAuthorizationInformation
method: t.ClassVar[Http] = 'GET'

The HTTP method with which to make the request. Given to requests.request() as the method argument.

endpoint: str = '/oauth2/@me'

The URL at which the request should be made. Given to requests.request() as the url argument. This field is set dynamically in a subclass’s __post_init__ in order to allow for per-guild/per-channel/etc. requests.