Skip to main content

Namespace Discord

Classes​

ActionRowBuilder​

Represents a class used to build Action rows.

ActionRowComponent​

Represents a Discord.IMessageComponent Row for child components to live in.

AddGuildUserProperties​

Properties that are used to add a new Discord.IGuildUser to the guild with the following parameters.

AllowedMentions​

Defines which mentions and types of mentions that will notify users from the message content.

ApplicationCommandOptionChoiceProperties​

Represents a choice for a Discord.IApplicationCommandInteractionDataOption. This class is used when making new commands.

ApplicationCommandOptionProperties​

Represents a Discord.IApplicationCommandOption for making slash commands.

ApplicationCommandPermission​

Application command permissions allow you to enable or disable commands for specific users or roles within a guild.

ApplicationCommandProperties​

Represents the base class to create/modify application commands.

ApplicationInstallParams​

Represents install parameters for an application.

AsyncEnumerableExtensions​

An extension class for squashing System.Collections.Generic.IAsyncEnumerable%601.

Attachment​

Represents a message attachment found in a Discord.IUserMessage.

AttachmentExtensions​

AutocompleteOption​

Represents an autocomplete option.

AutocompleteResult​

Represents a result to an autocomplete interaction.

BotGateway​

Stores the gateway information related to the current bot.

ButtonBuilder​

Represents a class used to build Discord.ButtonComponent's.

ButtonComponent​

Represents a Discord.IMessageComponent Button.

CDN​

Represents a class containing the strings related to various Content Delivery Networks (CDNs).

ComponentBuilder​

Represents a builder for creating a Discord.MessageComponent.

CustomStatusGame​

A user's activity for their custom status.

DiscordClientExtensions​

An extension class for the Discord client.

DiscordComparers​

Represents a collection of System.Collections.Generic.IEqualityComparer%601 for various Discord objects.

DiscordConfig​

Defines various behaviors of Discord.Net.

Embed​

Represents an embed object seen in an Discord.IUserMessage.

EmbedAuthorBuilder​

Represents a builder class for a author field.

EmbedBuilder​

Represents a builder class for creating a Discord.EmbedType.Rich Discord.Embed.

EmbedBuilderExtensions​

An extension class for building an embed.

EmbedFieldBuilder​

Represents a builder class for an embed field.

EmbedFooterBuilder​

Represents a builder class for an embed footer.

Emoji​

A Unicode emoji.

Emote​

A custom image-based emote.

EmoteProperties​

Provides properties that are used to modify an Discord.Emote with the specified changes.

Format​

A helper class for formatting characters.

Game​

A user's game status.

GameAsset​

An asset for a Discord.RichGame object containing the text and image.

GameParty​

Party information for a Discord.RichGame object.

GameSecrets​

Party secret for a Discord.RichGame object.

GameTimestamps​

Timestamps for a Discord.RichGame object.

GuildApplicationCommandPermission​

Returned when fetching the permissions for a command in a guild.

GuildChannelProperties​

Properties that are used to modify an Discord.IGuildChannel with the specified changes.

GuildEmote​

An image-based emote that is attached to a guild.

GuildExtensions​

An extension class for Discord.IGuild.

GuildFeatures​

GuildIntegrationProperties​

Provides properties used to modify an Discord.IGuildIntegration with the specified changes.

GuildProperties​

Provides properties that are used to modify an Discord.IGuild with the specified changes.

GuildScheduledEventsProperties​

Provides properties that are used to modify an Discord.IGuildScheduledEvent with the specified changes.

GuildUserProperties​

Properties that are used to modify an Discord.IGuildUser with the following parameters.

GuildWidgetProperties​

Provides properties that are used to modify the widget of an Discord.IGuild with the specified changes.

MentionUtils​

Provides a series of helper methods for parsing mentions.

MessageActivity​

An activity object found in a sent message.

MessageApplication​

MessageCommandBuilder​

A class used to build Message commands.

MessageCommandProperties​

A class used to create message commands.

MessageComponent​

Represents a component object used to send components with messages.

MessageExtensions​

Provides extension methods for Discord.IMessage.

MessageInteraction<TUser>​

Represents a partial Discord.IDiscordInteraction within a message.

MessageProperties​

Properties that are used to modify an Discord.IUserMessage with the specified changes.

MessageReference​

Contains the IDs sent from a crossposted message or inline reply.

Optional​

ReorderChannelProperties​

Provides properties that are used to reorder an Discord.IGuildChannel.

ReorderRoleProperties​

Properties that are used to reorder an Discord.IRole.

RequestOptions​

Represents options that should be used when sending a request.

RichGame​

A user's Rich Presence status.

RoleProperties​

Properties that are used to modify an Discord.IRole with the specified changes.

RoleTags​

Provides tags related to a discord role.

SelectMenuBuilder​

Represents a class used to build Discord.SelectMenuComponent's.

SelectMenuComponent​

Represents a select menu component defined at https://discord.com/developers/docs/interactions/message-components#select-menu-object

SelectMenuOption​

Represents a choice for a Discord.SelectMenuComponent.

SelectMenuOptionBuilder​

Represents a class used to build Discord.SelectMenuOption's.

SelfUserProperties​

Properties that are used to modify the Discord.ISelfUser with the specified changes.

SessionStartLimit​

Stores the information related to the gateway identify request.

SlashCommandBuilder​

Represents a class used to build slash commands.

SlashCommandOptionBuilder​

Represents a class used to build options for the Discord.SlashCommandBuilder.

SlashCommandProperties​

Represents a class used to create slash commands.

SnowflakeUtils​

Provides a series of helper methods for handling snowflake identifiers.

SpotifyGame​

A user's activity for listening to a song on Spotify.

StageInstanceProperties​

Represents properties to use when modifying a stage instance.

StickerPack<TSticker>​

Represents a discord sticker pack.

StickerProperties​

Represents a class used to modify stickers.

StreamingGame​

A user's activity for streaming on services such as Twitch.

Tag<T>​

TextChannelProperties​

Provides properties that are used to modify an Discord.ITextChannel with the specified changes.

TimestampTag​

Represents a class used to make timestamps in messages. see https://discord.com/developers/docs/reference#message-formatting-timestamp-styles.

TokenUtils​

Provides a series of helper methods for handling Discord login tokens.

UserCommandBuilder​

A class used to build user commands.

UserCommandProperties​

A class used to create User commands.

UserExtensions​

An extension class for various Discord user objects.

VoiceChannelProperties​

Provides properties that are used to modify an Discord.IVoiceChannel with the specified changes.

WebhookProperties​

Properties used to modify an Discord.IWebhook with the specified changes.

Structs​

[Cacheable<TCachedEntity, TDownloadableEntity, TRelationship, TId>](../Discord/CacheableTCachedEntity, TDownloadableEntity, TRelationship, TId)​

[Cacheable<TEntity, TId>](../Discord/CacheableTEntity, TId)​

Represents a cached entity.

ChannelPermissions​

Color​

Represents a color used in Discord.

DiscordError​

Represents an error with a property.

DiscordJsonError​

Represents a generic parsed json error received from discord after performing a rest request.

EmbedAuthor​

A author field of an Discord.Embed.

EmbedField​

A field for an Discord.Embed.

EmbedFooter​

A footer field for an Discord.Embed.

EmbedImage​

An image for an Discord.Embed.

EmbedProvider​

A provider field for an Discord.Embed.

EmbedThumbnail​

A thumbnail featured in an Discord.Embed.

EmbedVideo​

A video featured in an Discord.Embed.

FileAttachment​

GuildPermissions​

Image​

An image that will be uploaded to Discord.

IntegrationAccount​

LogMessage​

Provides a message object used for logging purposes.

Optional<T>​

Overwrite​

Represent a permission object.

OverwritePermissions​

Represents a container for a series of overwrite permissions.

ReactionMetadata​

A metadata containing reaction information.

Interfaces​

IActivity​

A user's activity status, typically a Discord.Game.

IApplication​

Represents a Discord application created via the developer portal.

IApplicationCommand​

The base command model that belongs to an application.

IApplicationCommandInteractionData​

Represents data of an Interaction Command, see https://discord.com/developers/docs/interactions/slash-commands#interaction-applicationcommandinteractiondata.

IApplicationCommandInteractionDataOption​

Represents a option group for a command.

IApplicationCommandOption​

Options for the Discord.IApplicationCommand.

IApplicationCommandOptionChoice​

Specifies choices for command group.

IAttachment​

Represents a message attachment found in a Discord.IUserMessage.

IAudioChannel​

Represents a generic audio channel.

IAuditLogData​

Represents data applied to an Discord.IAuditLogEntry.

IAuditLogEntry​

Represents a generic audit log entry.

IAutocompleteInteraction​

Represents a Discord.InteractionType.ApplicationCommandAutocomplete.

IAutocompleteInteractionData​

Represents data for a slash commands autocomplete interaction.

IBan​

Represents a generic ban object.

ICategoryChannel​

Represents a generic category channel.

IChannel​

Represents a generic channel.

IComponentInteraction​

Represents an interaction type for Message Components.

IComponentInteractionData​

Represents the data sent with the Discord.IComponentInteraction.

IConnection​

ICustomSticker​

Represents a custom sticker within a guild.

IDeletable​

Determines whether the object is deletable or not.

IDiscordClient​

Represents a generic Discord client.

IDiscordInteraction​

Represents a discord interaction.

IDiscordInteractionData​

Represents an interface used to specify classes that they are a valid data type of a Discord.IDiscordInteraction class.

IDMChannel​

Represents a generic direct-message channel.

IEmbed​

Represents a Discord embed object.

IEmote​

Represents a general container for any type of emote in a message.

IEntity<TId>​

IGroupChannel​

Represents a generic private group channel.

IGroupUser​

Represents a Discord user that is in a group.

IGuild​

Represents a generic guild/server.

IGuildChannel​

Represents a generic guild channel.

IGuildIntegration​

Holds information for a guild integration feature.

IGuildScheduledEvent​

Represents a generic guild scheduled event.

IGuildUser​

Represents a generic guild user.

IInvite​

Represents a generic invite object.

IInviteMetadata​

Represents additional information regarding the generic invite object.

IMentionable​

Determines whether the object is mentionable or not.

IMessage​

Represents a message object.

IMessageChannel​

Represents a generic channel that can send and receive messages.

IMessageCommandInteraction​

Represents a Message Command interaction.

IMessageCommandInteractionData​

Represents the data tied with the Discord.IMessageCommandInteraction interaction.

IMessageComponent​

Represents a message component on a message.

IMessageInteraction​

Represents a partial Discord.IDiscordInteraction within a message.

INestedChannel​

Represents a type of guild channel that can be nested within a category.

INewsChannel​

Represents a generic news channel in a guild that can send and receive messages.

IPresence​

Represents the user's presence status. This may include their online status and their activity.

IPrivateChannel​

Represents a generic channel that is private to select recipients.

IRateLimitInfo​

Represents a generic ratelimit info.

IReaction​

Represents a generic reaction object.

IRole​

Represents a generic role object to be given to a guild user.

ISelfUser​

Represents the logged-in Discord user.

ISlashCommandInteraction​

Represents a slash command interaction.

ISnowflakeEntity​

Represents a Discord snowflake entity.

IStageChannel​

Represents a generic Stage Channel.

ISticker​

Represents a discord sticker.

IStickerItem​

Represents a partial sticker item received with a message.

ISystemMessage​

Represents a generic message sent by the system.

ITag​

ITeam​

Represents a Discord Team.

ITeamMember​

Represents a Discord Team member.

ITextChannel​

Represents a generic channel in a guild that can send and receive messages.

IThreadChannel​

Represents a thread channel inside of a guild.

IUpdateable​

Defines whether the object is updateable or not.

IUser​

Represents a generic user.

IUserCommandInteraction​

Represents a User Command interaction.

IUserCommandInteractionData​

Represents the data tied with the Discord.IUserCommandInteraction interaction.

IUserGuild​

IUserMessage​

Represents a generic message sent by a user.

IVoiceChannel​

Represents a generic voice channel in a guild.

IVoiceRegion​

Represents a region of which the user connects to when using voice.

IVoiceState​

Represents a user's voice connection status.

IWebhook​

Represents a webhook object on Discord.

IWebhookUser​

Represents a Webhook Discord user.

Enums​

ActionType​

Representing a type of action within an Discord.IAuditLogEntry.

ActivityProperties​

Flags for the Discord.IActivity.Flags property, that are ORd together. These describe what the activity payload includes.

ActivityType​

Specifies a Discord user's activity type.

AllowedMentionTypes​

Specifies the type of mentions that will be notified from the message content.

ApplicationCommandOptionType​

The option type of the Slash command parameter, See the discord docs.

ApplicationCommandPermissionTarget​

Specifies the target of the permission.

ApplicationCommandType​

Represents the types of application commands.

ApplicationFlags​

Represents public flags for an application.

ButtonStyle​

Represents different styles to use with buttons. You can see an example of the different styles at https://discord.com/developers/docs/interactions/message-components#buttons-button-styles

CacheMode​

Specifies the cache mode that should be used.

ChannelPermission​

Defines the available permissions for a channel.

ChannelType​

Defines the types of channels.

ClientType​

Defines the types of clients a user can be active on.

ComponentType​

Represents a type of a component.

ConnectionState​

Specifies the connection state of a client.

DefaultApplications​

DefaultMessageNotifications​

Specifies the default message notification behavior the guild uses.

Direction​

Specifies the direction of where message(s) should be retrieved from.

DiscordErrorCode​

Represents a set of json error codes received by discord.

EmbedType​

Specifies the type of embed.

ExplicitContentFilterLevel​

GatewayIntents​

GuildFeature​

GuildPermission​

Defines the available permissions for a channel.

GuildScheduledEventPrivacyLevel​

Represents the privacy level of a guild scheduled event.

GuildScheduledEventStatus​

Represents the status of a guild event.

GuildScheduledEventType​

Represents the type of a guild scheduled event.

ImageFormat​

Specifies the type of format the image should return in.

InteractionResponseType​

The response type for an Discord.IDiscordInteraction.

InteractionType​

Represents a type of Interaction from discord.

LoginState​

Specifies the state of the client's login status.

LogSeverity​

Specifies the severity of the log message.

MembershipState​

Represents the membership state of a team member.

MessageActivityType​

MessageFlags​

MessageSource​

Specifies the source of the Discord message.

MessageType​

Specifies the type of message.

MfaLevel​

Specifies the guild's Multi-Factor Authentication (MFA) level requirement.

NsfwLevel​

PermissionTarget​

Specifies the target of the permission.

PermValue​

Specifies the permission value.

PremiumTier​

PremiumType​

Specifies the type of subscription a user is subscribed to.

RetryMode​

Specifies how a request should act in the case of an error.

StagePrivacyLevel​

Represents the privacy level of a stage.

StickerFormatType​

Defines the types of formats for stickers.

StickerType​

Represents a type of sticker..

SystemChannelMessageDeny​

TagHandling​

Specifies the handling type the tag should use.

TagType​

Specifies the type of Discord tag.

TargetUserType​

ThreadArchiveDuration​

Represents the thread auto archive duration.

ThreadType​

Represents types of threads.

TimestampTagStyles​

Represents a set of styles to use with a Discord.TimestampTag

TokenType​

Specifies the type of token to use with the client.

UserProperties​

UserStatus​

Defines the available Discord user status.

VerificationLevel​

Specifies the verification level the guild uses.

WebhookType​

Represents the type of a webhook.