Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discord_api_types/payloads/mod.ts

Up to date Discord API Typings, versioned by the API version
Go to Latest
import * as discordApiTypes from "https://deno.land/x/discord_api_types@0.37.45/payloads/mod.ts";

Enums

E
EmbedType
deprecated

Interfaces

This interface is used to allow easy extension for other channel types. While also allowing APIPartialChannel to be used without breaking.

Not documented, but partial only includes id, name, and type

Not documented but mentioned

Type Aliases

Returned when new role(s) are added

Returned when role(s) are removed

Returned when an auto moderation rule's actions is changed

Returned when a guild's afk_channel_id is changed

Returned when a guild's afk_timeout is changed

Returned when an overwrite's allowed permissions bitfield is changed

The application ID of the added or removed Webhook or Bot

Empty string

Returned when a sticker's availability is changed

Returned when a user's avatar_hash is changed

Returned when a guild's banner hash is changed

Returned when a voice channel's bitrate is changed

Returned when an invite's or guild scheduled event's channel_id is changed

Returned when an invite's code is changed

Returned when a role's color is changed

Returned when a user's timeout is changed

Returned when a user's deaf status is changed

Returned when a guild's default_message_notifications is changed

Returned when an overwrite's denied permissions bitfield is changed

Returned when a guild's or sticker's or guild scheduled event's description is changed

Returned when a guild's discovery splash is changed

Returned when an auto moderation rule's enabled status is changed

Returned when an integration's enable_emoticons is changed

Returned when entity type of a guild scheduled event is changed

Returned when an auto moderation rule's event type is changed

Returned when an auto moderation rule's exempt channels is changed

Returned when an auto moderation rule's exempt roles is changed

Returned when an integration's expire_behavior is changed

Returned when an integration's expire_grace_period is changed

Returned when a guild's explicit_content_filter is changed

Returned when a sticker's format_type is changed

Returned when a sticker's guild_id is changed

Returned when a role's hoist status is changed

Returned when a guild's icon is changed

The ID of the changed entity - sometimes used in conjunction with other keys

Returned when a guild's scheduled event's cover image is changed

Returned when an invite's inviter_id is changed

Returned when location of a guild scheduled event is changed

Returned when an invite's max_age is changed

Returned when an invite's max_uses is changed

Returned when a role's mentionable status is changed

Returned when a guild's mfa_level is changed

Returned when a user's mute status is changed

Returned when an entity's name is changed

Returned when a user's nick is changed

Returned when a channel's NSFW restriction is changed

Returned when a guild's owner_id is changed

Returned when a channel's permission overwrites is changed

Returned when a permission bitfield is changed

Returned when a channel's position is changed

Returned when a guild's preferred_locale is changed

Returned when privacy level of a stage instance or guild scheduled event is changed

Returned when there is a change in number of days after which inactive and role-unassigned members are kicked

Returned when a guild's public_updates_channel_id is changed

Returned when a channel's amount of seconds a user has to wait before sending another message is changed

Returned when a guild's region is changed

Returned when a guild's rules_channel_id is changed

Represents a change where the key is a snowflake. Currently, the only known instance of this is returned when permissions for a command were updated ()

Returned when a guild's splash is changed

Returned when status of a guild scheduled event is changed

Returned when a guild's system_channel_id is changed

Returned when a sticker's related emoji is changed

Returned when an invite's temporary status is changed

Returned when a channel's topic is changed

Returned when an auto moderation rule's trigger metadata is changed

Returned when an auto moderation rule's trigger type is changed (only in rule creation or deletion)

The type of entity created

Returned when a voice channel's user_limit is changed

Returned when an invite's uses is changed

Returned when a guild's vanity_url_code is changed

Returned when a guild's verification_level is changed

Returned when a guild's widget_channel_id is changed

Returned when a guild's widget is enabled

users and optional members from APIInteractionDataResolved, for user commands and user selects