package
3.4.0
Repository: https://github.com/diamondburned/arikawa.git
Documentation: pkg.go.dev

# Functions

CalcOverrides calculates the permissions for a member in the given channel.
Components wraps the given list of components inside ActionRows if it's not already in one.
ComponentsPtr returns the pointer to Components' return.
DangerButtonStyle is a style for a red button.
DurationSinceEpoch returns the duration from the Discord epoch to current.
No description provided by the author
No description provided by the author
HasFlag is returns true if has is in the flag.
LinkButtonStyle is a button style that navigates to a URL.
MemberColor computes the effective color of the Member, taking into account the role colors.
NewAPIEmoji creates a new APIEmoji string from the given emoji ID and name.
NewBooleanOption creates a new boolean option.
NewChannelOption creates a new channel option.
NewCommand creates a new command.
NewCustomEmoji creates a new Emoji using a custom guild emoji as base.
NewEmbed creates a normal embed with default values.
NewIntegerOption creates a new integer option.
NewMentionableOption creates a new mentionable option.
NewNumberOption creates a new number option.
NewOptionalSeconds creates a new OptionalSeconds using the value of the passed Seconds.
No description provided by the author
NewRoleOption creates a new role option.
NewSnowflake creates a new snowflake from the given time.
NewStringOption creates a new string option.
NewSubcommandGroupOption creates a new subcommand group option.
NewSubcommandOption creates a new subcommand option.
No description provided by the author
NewUserOption creates a new user option.
No description provided by the author
NewComponent returns a new Component from the given type that's matched with the global ComponentFunc map.
ParseComponentInteraction parses the given bytes as a component response.
ParseSnowflake parses a snowflake.
PrimaryButtonStyle is a style for a blurple button.
SecondaryButtonStyle is a style for a grey button.
SortRolesByPosition sorts the roles by their position.
SuccessButtonStyle is a style for a green button.
TextButtonComponent creates a new button with the given label used for the label and the custom ID.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
AllMembers enables content filtering for all members.
AllMessages sends notifications for all messages.
AnimatedIcon is set, if the guild has access to set an animated guild icon.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Embed type constants.
No description provided by the author
AuditAnyID specifies the ID of the changed entity - sometimes used in conjunction with other keys.
AuditAnyType is the type of the entity created.
AuditChannelApplicationID contains the application ID of the added or removed webhook or bot.
AuditChannelBitrate gets sent if the voice channel bitrate changed.
AuditChannelNSFW gets sent if the channel NSFW restriction changed.
AuditChannelPermissionOverwrites gets sent if the permissions on a channel changed.
AuditChannelPosition gets sent if a text or voice channel position was changed.
AuditChannelRateLimitPerUser gets sent if the amount of seconds a user has to wait before sending another message changed.
AuditChannelTopic gets sent if the text channel topic changed.
AuditGuildAFKChannelID gets sent if the guild's afk channel changed.
AuditGuildAFKTimeout gets sent if the guild's afk timeout duration changed.
AuditGuildExplicitFilter gets sent if there was a change in whose messages are scanned and deleted for explicit content in the server.
AuditGuildIconHash gets sent if the guild's icon was changed.
AuditGuildMFA gets sent if the two-factor auth requirement changed.
AuditGuildName gets sent if the guild's name was changed.
AuditGuildNotification gets sent if the default message notification level changed.
AuditGuildOwnerID gets sent if the guild's owner changed.
AuditGuildPruneDeleteDays gets sent if there was a change in number of days after which inactive and role-unassigned members are kicked.
AuditGuildRegion gets sent if the guild's region changed.
AuditGuildRoleAdd gets sent if a new role was added.
AuditGuildRoleRemove gets sent if a role was removed.
AuditGuildSplashHash gets sent if the guild's invite splash page artwork was changed.
AuditGuildSystemChannelID gets sent if the ID of the guild's system channel changed.
AuditGuildVanityURLCode gets sent if the guild invite vanity URL changed.
AuditGuildVerification gets sent if the guild's required verification level changed Type: Verification.
AuditGuildWidgetChannelID gets sent if the channel ID of the guild widget changed.
AuditGuildWidgetEnabled gets sent if the guild's widget was enabled/disabled.
AuditIntegrationEnableEmoticons gets sent if the integration emoticons were enabled/disabled.
AuditIntegrationExpireBehavior gets sent if the integration expiring subscriber behavior changed.
AuditIntegrationExpireGracePeriod gets sent if the integration expire grace period changed.
AuditInviteChannelID gets sent if the channel for an invite code changed.
AuditInviteCode gets sent if an invite code changed.
AuditInviteInviterID specifies the person who created invite code changed.
AuditInviteMaxAge specifies the how long invite code lasts changed.
AuditInviteMaxUses specifies the change to max number of times invite code can be used.
AuditInviteTemporary specifies if an invite code is temporary/never expires.
AuditInviteUses specifies the number of times invite code used changed.
AuditRoleAllow gets sent if a permission on a text or voice channel was allowed for a role.
AuditRoleColor gets sent if the role color changed.
AuditRoleDeny gets sent if a permission on a text or voice channel was denied for a role.
AuditRoleHoist gets sent if the role is now displayed/no longer displayed separate from online users.
AuditRoleMentionable gets sent if a role is now mentionable/unmentionable.
AuditRolePermissions gets sent if the permissions for a role changed.
AuditUserAvatar specifies the hash of the new user avatar.
AuditUserDeaf specifies if the user was server deafened/undeafened.
AuditUserMute specifies if the user was server muted/unmuted.
AuditUserNick specifies the new nickname of the user.
No description provided by the author
AutoImage chooses automatically between a PNG and GIF.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes.
Banner is set, if the guild has access to set a guild banner image.
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
No description provided by the author
No description provided by the author
Commerce is set, if the guild has access to use commerce features (i.e.
Competing in $name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
CrosspostedMessage specifies whether the message has been published to subscribed channels (via Channel Following).
$emoji $state.
No description provided by the author
No description provided by the author
Guild.MaxPresences is this value when it's 0.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
DirectMessage is a direct message between users.
No description provided by the author
Discoverable is set, if the guild is able to be discovered in the directory.
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/guild#guild-object-mfa-level.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
EphemeralMessage specifies whether the message is only visible to the user who invoked the Interaction.
Epoch is the Discord epoch constant in time.Duration (nanoseconds) since Unix epoch.
No description provided by the author
Featurable is set, if the guild is able to be featured in the directory.
No description provided by the author
Display posts as a collection of tiles.
Display posts as a list.
No default has been set for forum channel.
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes.
Playing $name.
No description provided by the author
GIFImage is the GIF image type.
Embed type constants.
No description provided by the author
GroupDM is a direct message between multiple users.
GuildAnnouncement is a channel that users can follow and crosspost into their own server.
GuildAnnouncementThread is a temporary sub-channel within a GUILD_NEWS channel.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
GuildCategory is an organizational category that contains up to 50 channels.
GuildDirectory is the channel in a hub containing the listed servers.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
GuildForum is a channel that can only contain threads.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
GuildNews aliases to GuildAnnouncement.
GuildNewsThread aliases to GuildAnnouncementThread.
GuildOnly requires the scheduled event to be only accessible to guild members.
GuildOnlyStage is used if a StageInstance instance is visible to only guild members.
GuildPrivateThread isa temporary sub-channel within a GUILD_TEXT channel that is only viewable by those invited and those with the MANAGE_THREADS permission.
GuildPublicThread is a temporary sub-channel within a GUILD_TEXT channel.
GuildStageVoice is a voice channel for hosting events with an audience.
GuildSticker is a sticker uploaded to a boosted guild for the guild's members.
GuildStore is a channel in which game developers can sell their game on Discord.
GuildText is a text channel within a server.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
GuildVoice is a voice channel within a server.
HighVerification requires the member be in the server for more than 10 minutes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Embed type constants.
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
InviteSplash is set, if the guild has access to set an invite splash background.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-activity-types.
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-activity-types.
JPEGImage is the JPEG image type.
Kick kicks the subscriber from the guild.
No description provided by the author
undocumented.
Embed type constants.
Listening to $name.
https://discord.com/developers/docs/resources/channel#message-object-message-activity-types.
No description provided by the author
LowVerification requires a verified email.
MediumVerification requires the user be registered for at least 5 minutes.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
MembersWithoutRoles filters only members without roles.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
MessageHasThread specifies whether the message has an associated thread with the same id as the message.
MessageIsCrosspost specifies whether the message originated from a message in another channel (via Channel Following).
MessageLoading specifies whether the message is an Interaction Response and the bot is "thinking".
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
News is set, if the guild has access to create news channels.
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/guild#guild-object-premium-tier.
https://discord.com/developers/docs/resources/guild#guild-object-premium-tier.
https://discord.com/developers/docs/resources/guild#guild-object-premium-tier.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
NoContentFilter disables content filtering for the guild.
No description provided by the author
https://discord.com/developers/docs/resources/guild#guild-object-mfa-level.
https://discord.com/developers/docs/resources/guild#guild-object-premium-tier.
Embed type constants.
No description provided by the author
No description provided by the author
NoVerification required no verification.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NullAppID gets encoded into a null.
NullAttachmentID gets encoded into a null.
NullAuditLogEntryID gets encoded into a null.
NullAutoModerationRuleID gets encoded into a null.
NullChannelID gets encoded into a null.
NullColor is a Color that's marshaled to null.
NullCommandID gets encoded into a null.
NullEmojiID gets encoded into a null.
NullEntityID gets encoded into a null.
NullEventID gets encoded into a null.
NullExplicitFilter serialized to JSON null.
NullGuildID gets encoded into a null.
NullIntegrationID gets encoded into a null.
NullInteractionID gets encoded into a null.
NullMessage is the JSON null value of MessageFlags.
NullMessageID gets encoded into a null.
NullNotification serialized to JSON null.
NullRoleID gets encoded into a null.
NullSecond is used in cases where null should be used instead of a number or omitted.
NullSnowflake gets encoded into a null.
NullStageID gets encoded into a null.
NullStickerID gets encoded into a null.
NullStickerPackID gets encoded into a null.
NullTagID gets encoded into a null.
NullTeamID gets encoded into a null.
NullUserID gets encoded into a null.
NullVerification serialized to JSON null.
NullWebhookID gets encoded into a null.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OnlyMentions sends notifications only on mention.
OverwriteMember is an overwrite for a member.
OverwriteRole is an overwrite for a role.
No description provided by the author
Partnered is set, if the guild is partnered.
Allows for the addition of reactions to messages.
Allows all permissions and bypasses channel permission overwrites.
https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags.
https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags.
https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags.
https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags.
Allows for uploading images and files.
Allows banning members.
Allows for modification of own nickname.
Allows for joining of a voice channel.
Allows creation of instant invites.
Allows for creating and participating in private threads.
Allows for creating and participating in threads.
Allows for deafening of members in a voice channel.
Links sent by users with this permission will be auto-embedded.
Allows kicking members.
Allows management and editing of channels.
Allows members to use slash commands in text channels.
Allows for creating, editing, and deleting scheduled events.
Allows management and editing of the guild.
Allows for deletion of other users messages.
Allows for modification of other users nicknames.
Allows management and editing of roles.
Allows for deleting and archiving threads, and viewing all private threads.
Allows management and editing of webhooks.
Allows for using the @everyone tag to notify all users in a channel, and the @here tag to notify all online users in a channel.
Allows for timing out users.
Allows for moving of members between voice channels.
Allows for muting members in a voice channel.
Allows for using priority speaker in a voice channel.
Allows for reading of message history.
Allows for requesting to speak in stage channels.
Allows for sending messages in a channel.
Allows for sending messages in threads.
Allows for sending of /tts messages.
Allows sending voice messages.
Allows for speaking in a voice channel.
Allows for launching activities (applications with the EMBEDDED flag) in a voice channel.
Allows the user to go live.
Allows the usage of custom emojis from other servers.
Allows the usage of custom soundboard sounds from other servers.
Allows the usage of custom stickers from other servers.
Allows members to use slash commands in text channels.
Allows for using soundboard in a voice channel.
Allows for using voice-activity-detection in a voice channel.
Allows for viewing of audit logs.
Allows guild members to view a channel, which includes reading messages in text channels.
Allows for viewing role subscription insights.
Allows for viewing guild insights.
No description provided by the author
PinnedThread means this thread is pinned to the top of its parent GuildForum channel.
No description provided by the author
PNGImage is the PNG image type.
No description provided by the author
No description provided by the author
Public is set, if the guild is public.
PublicStage is used if a StageInstance instance is visible publicly, such as on StageInstance discovery.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
RemoveRole removes the role of the subscriber.
https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-application-command-permission-type.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SevenDaysArchive archives a thread after seven days.
Sort forum posts by creation time (from most recent to oldest).
Sort forum posts by activity.
SourceMessageDeleted specifies whether the source message for the crosspost has been deleted (via Channel Following).
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-activity-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
No description provided by the author
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
https://discord.com/developers/docs/resources/channel#message-object-message-types.
StandardSticker is an official sticker in a pack, part of Nitro or in a removed purchasable pack.
https://discord.com/developers/docs/resources/channel#message-object-message-sticker-format-types.
https://discord.com/developers/docs/resources/channel#message-object-message-sticker-format-types.
https://discord.com/developers/docs/resources/channel#message-object-message-sticker-format-types.
Streaming $details.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SuppressEmbeds specifies whether to not include any embeds when serializing the message.
SuppressJoinNotifications suppresses member join notifications.
SuppressNotifications specifies whether the message will not trigger push and desktop notifications.
SuppressPremiumSubscriptions suppresses server boost notifications.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ThreadCreatedMessage is a new message sent to the parent GuildText channel, used to inform users that a thread has been created.
ThreadRequireTag is whether a tag is required to be specified when creating a thread in a GuildForum channel.
ThreadStarterMessage is a new message sent as the first message in threads that are started from an existing message in the parent channel.
ThreeDaysArchive archives a thread after three days.
same as ISO8601.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UrgentMessage specifies whether the message came from the urgent message system.
No description provided by the author
https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-application-command-permission-type.
No description provided by the author
No description provided by the author
VanityURL is set, if the guild has access to set a vanity URL.
Verified is set, if the guild is verified.
No description provided by the author
No description provided by the author
VeryHighVerification requires the member to have a verified phone number.
Embed type constants.
No description provided by the author
VIPRegions is set, if the guild has access to set 384kbps bitrate in voice (previously VIP voice servers).
No description provided by the author
Watching $name.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events.
WebPImage is the WebP image type.
No description provided by the author

# Variables

DefaultEmbedColor is the default color to use for an embed.
ZeroOptionalSeconds are 0 OptionalSeconds.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/channel#attachment-object.
AttachmentOption is a subcommand option that fits into a CommandOptionValue.
https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info.
https://discord.com/developers/docs/resources/audit-log#audit-log-object.
AuditLogChange is a single key type to changed value audit log entry.
AuditLogEntry is a single entry in the audit log.
AutocompleteInteraction is an autocompletion Interaction response.
AutocompleteOption is an autocompletion option in an AutocompleteInteraction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://discord.com/developers/docs/resources/guild#ban-object.
BooleanOption is a subcommand option that fits into a CommandOptionValue.
Button is a clickable button that may be added to an interaction response.
ButtonInteraction is a button component's response.
Channel represents a guild or DM channel within Discord.
https://discord.com/developers/docs/resources/channel#channel-mention-object.
ChannelOption is a subcommand option that fits into a CommandOptionValue.
No description provided by the author
ChannelSelectInteraction is a channel select component's response.
No description provided by the author
Command is the base "command" model that belongs to an application.
CommandInteraction is an application command interaction that Discord sends to us.
CommandInteractionOption is an option for a Command interaction response.
https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-application-command-permissions-structure.
ComponentEmoji is the emoji displayed on the button before the text.
No description provided by the author
Embed describes a box with a left colored border that sometimes appears in messages.
No description provided by the author
No description provided by the author
EmbedFooter is the footer of an embed.
EmbedImage is the large image of an embed.
No description provided by the author
EmbedThumbnail is the small image of an embed.
EmbedVideo is the video of an embed.
https://discord.com/developers/docs/resources/emoji#emoji-object.
EntityMetadata is the entity metadata of GuildScheduledEvent.
ForumReaction is used in several forum-related structures.
https://discord.com/developers/docs/resources/guild#guild-object.
https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-guild-application-command-permissions-structure.
https://discord.com/developers/docs/resources/guild#guild-preview-object.
GuildScheduledEvent describes the scheduled event structure.
No description provided by the author
https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget.
https://discord.com/developers/docs/resources/guild#guild-widget-object.
https://discord.com/developers/docs/resources/application#install-params-object.
IntegerChoice is a pair of string key to an integer.
IntegerOption is a subcommand option that fits into a CommandOptionValue.
https://discord.com/developers/docs/resources/guild#integration-object.
https://discord.com/developers/docs/resources/guild#integration-account-object.
https://discord.com/developers/docs/resources/guild#integration-application-object.
InteractionEvent describes the full incoming interaction event.
Invite represents a code that when used, adds a user to a guild or group DM channel.
Extra information about an invite, will extend the invite object.
https://discord.com/developers/docs/resources/guild#guild-member-object The field user won't be included in the member object attached to MESSAGE_CREATE and MESSAGE_UPDATE gateway events.
MentionableOption is a subcommand option that fits into a CommandOptionValue.
No description provided by the author
MentionableSelectInteraction is a mentionable select component's response.
https://discord.com/developers/docs/resources/channel#message-object.
https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure.
https://discord.com/developers/docs/resources/channel#message-object-message-application-structure.
https://discord.com/developers/docs/interactions/receiving-and-responding#message-interaction-object-message-interaction-structure.
MessageReference is used in four situations: # Crosspost messages Messages that originated from another channel (IS_CROSSPOST flag).
ModalInteraction is the submitted modal form.
NumberChoice is a pair of string key to a float64 values.
NumberOption is a subcommand option that fits into a CommandOptionValue.
OverboundError is an error that's returned if any value is too long.
https://discord.com/developers/docs/resources/channel#overwrite-object.
PingInteraction is a ping Interaction response.
Presence represents a partial Presence structure used by other structs to be easily embedded.
https://discord.com/developers/docs/resources/channel#reaction-object.
https://discord.com/developers/docs/resources/channel#reaction-count-details-object.
A Relationship between the logged in user and the user in the struct.
https://discord.com/developers/docs/topics/permissions#role-object.
RoleOption is a subcommand option that fits into a CommandOptionValue.
No description provided by the author
RoleSelectInteraction is a role select component's response.
No description provided by the author
SelectOption is an option in the select component.
A StageInstance holds information about a live stage instance.
https://discord.com/developers/docs/resources/channel#message-object-message-sticker-structure.
StickerItem contains partial data of a Sticker.
StringChoice is a pair of string key to a string.
StringOption is a subcommand option that fits into a CommandOptionValue.
StringSelectComponent is a dropdown menu that may be added to an interaction response.
StringSelectInteraction is a string select component's response.
SubcommandGroupOption is a subcommand group that fits into a CommandOption.
SubcommandOption is a subcommand option that fits into a CommandOption.
Tag represents a tag that is able to be applied to a thread in a GuildForum channel.
No description provided by the author
No description provided by the author
TextInputComponents provide a user-facing text box to be filled out.
No description provided by the author
ThreadMetadata contains a number of thread-specific channel fields that are not needed by other channel types.
UnknownCommandOption is used for unknown or unmarshaled CommandOption values.
Unknown is reserved for components with unknown or not yet implemented components types.
UnknownInteractionData describes an Interaction response with an unknown type.
No description provided by the author
UserOption is a subcommand option that fits into a CommandOptionValue.
No description provided by the author
UserSelectInteraction is a user select component's response.
No description provided by the author
No description provided by the author
Webhook is used to represent a webhook.

# Interfaces

ButtonComponentStyle is the style to display a button in.
CommandOption is a union of command option types.
CommandOptionValue is a subcommand option that fits into a subcommand.
Component is a component that can be attached to an interaction response.
ComponentInteraction is a union component interaction response types.
ContainerComponent is the opposite of InteractiveComponent: it describes components that only contain other components.
InteractionData holds the respose data of an interaction, or more specifically, the data that Discord sends to us.
InteractiveComponent extends the Component for components that are interactible, or components that aren't containers (like ActionRow).

# Type aliases

ActionRow is a row of components at the bottom of a message.
No description provided by the author
No description provided by the author
APIEmoji represents an emoji identifier string formatted to be used with the API.
AppID is the snowflake type for a AppID.
No description provided by the author
ArchiveDuration is the duration after which a thread without activity will be archived.
AttachmentID is the snowflake type for a AttachmentID.
No description provided by the author
AuditLogEntryID is the snowflake type for a AuditLogEntryID.
AuditLogEvent is the type of audit log action that occurred.
AutocompleteOptions is a list of autocompletion options.
No description provided by the author
No description provided by the author
No description provided by the author
AutoModerationRuleID is the snowflake type for a AutoModerationRuleID.
No description provided by the author
ChannelFlags are the channel flags combined as a bitfield.
ChannelID is the snowflake type for a ChannelID.
ChannelType describes the type of the channel.
Color describes an RGB color (with NO alpha).
CommandID is the snowflake type for a CommandID.
CommandInteractionOptions is a list of interaction options.
CommandOptions is used primarily for unmarshaling.
CommandOptionType is the enumerated integer type for command options.
No description provided by the author
CommandType is the type of the command, which describes the intended invokation source of the command.
ComponentID is the type for a component's custom ID.
ComponentType is the type of a component.
No description provided by the author
ContainerComponents is primarily used for unmarshaling.
EmbedTypes are "loosely defined" and, for the most part, are not used by our clients for rendering.
EmojiID is the snowflake type for a EmojiID.
EntityID is the snowflake type for a EntityID.
EntityType describes the different types GuildScheduledEvent can be.
EventID is the snowflake type for a EventID.
EventStatus describes the different statuses GuildScheduledEvent can be.
ExpireBehavior is the integration expire behavior that regulates what happens, if a subscriber expires.
ExplicitFilter is the explicit content filter level of a guild.
https://discord.com/developers/docs/resources/channel#channel-object-forum-layout-types.
No description provided by the author
GuildID is the snowflake type for a GuildID.
No description provided by the author
No description provided by the author
IntegrationID is the snowflake type for a IntegrationID.
InteractionDataType is the type of each Interaction, enumerated in integers.
InteractionID is the snowflake type for a InteractionID.
https://discord.com/developers/docs/resources/invite#invite-object-target-user-types.
Language is a string type for language codes, such as "en-US" or "fr".
MemberFlags represents the bit set of member flags.
No description provided by the author
No description provided by the author
No description provided by the author
MessageID is the snowflake type for a MessageID.
No description provided by the author
MFALevel is the required MFA level for a guild.
Milliseconds is in float64 because some Discord events return time with a trailing decimal.
NitroBoost is the premium tier (Server Boost level).
Notification is the default message notification level of a guild.
https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level.
OverwriteType is an enumerated type to indicate the entity being overwritten: role or member.
No description provided by the author
No description provided by the author
RelationshipType is an enum for a relationship.
RoleID is the snowflake type for a RoleID.
ScheduledEventPrivacy describes the privacy levels of GuildScheduledEvent.
No description provided by the author
SelectInteraction is a select component's response.
Service is used for guild integrations and user connections.
Snowflake is the format of Discord's ID type.
https://discord.com/developers/docs/resources/channel#channel-object-sort-order-types.
StageID is the snowflake type for a StageID.
Status is the enumerate type for a user's status.
No description provided by the author
StickerID is the snowflake type for a StickerID.
StickerPackID is the snowflake type for a StickerPackID.
No description provided by the author
StringLocales is the map mapping a language code to a localized string.
No description provided by the author
TagID is the snowflake type for a TagID.
TeamID is the snowflake type for a TeamID.
No description provided by the author
ThreadMemberFlags are the flags of a ThreadMember.
Timestamp has a valid zero-value, which can be checked using the IsValid() method.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UserID is the snowflake type for a UserID.
No description provided by the author
Verification is the verification level required for a guild.
No description provided by the author
WebhookID is the snowflake type for a WebhookID.
No description provided by the author