discord_api library

Classes

DiscordActivity
DiscordActivityAssets
DiscordActivityButton
DiscordActivityParty
DiscordActivitySecrets
DiscordActivityTimestamps
DiscordAllowedMentions
DiscordApplication
DiscordAttachment
DiscordAuditLog
DiscordAuditLogChange
DiscordAuditLogEntry
DiscordAuthorizationInformation
DiscordBan
DiscordCdnHelper
DiscordChannel
DiscordChannelMention
DiscordClient
DiscordClientStatus
active sessions are indicated with an "online", "idle", or "dnd" string per platform. If a user is offline or invisible, the corresponding field is not present.
DiscordConnection
DiscordDioProvider
DiscordEmbed
DiscordEmbedAuthor
DiscordEmbedField
DiscordEmbedFooter
DiscordEmbedImage
DiscordEmbedProvider
DiscordEmbedThumbnail
DiscordEmbedVideo
DiscordEmoji
DiscordErrors
DiscordFollowedChannel
DiscordGuild
DiscordGuildMember
DiscordGuildPreview
DiscordGuildScheduledEvent
DiscordGuildScheduledEventEntityMetadata
DiscordGuildScheduledEventUser
DiscordGuildTemplate
DiscordGuildWidget
DiscordGuildWidgetSettings
DiscordHttpClient
DiscordIntegration
DiscordIntegrationAccount
DiscordIntegrationApplication
DiscordInvite
DiscordInviteMetadata
DiscordInviteStageInstance
DiscordMessage
DiscordMessageActivity
DiscordMessageComponent
Base class for Discord Components.
DiscordMessageComponentActionRow
An Action Row is a non-interactive container component for other types of components. It has a type: 1 and a sub-array of components of other types.
DiscordMessageComponentButton
Buttons are interactive components that render on messages. They can be clicked by users, and send an interaction to your app when clicked.
DiscordMessageComponentSelectMenu
Select menus are another interactive component that renders on messages. On desktop, clicking on a select menu opens a dropdown-style UI; on mobile, tapping a select menu opens up a half-sheet with the options.
DiscordMessageComponentSelectMenuOption
DiscordMessageComponentTextInput
Text inputs are an interactive component that render on modals. They can be used to collect short-form or long-form text.
DiscordMessageInteraction
DiscordMessageReference
DiscordOptionalAuditEntryInfo
DiscordOverwrite
DiscordPresenceUpdate
DiscordReaction
DiscordRole
DiscordRoleTags
DiscordSnowflake
DiscordStageInstance
DiscordSticker
Represents a sticker that can be sent in messages.
DiscordStickerItem
The smallest amount of data required to render a sticker. A partial sticker object.
DiscordStickerPack
DiscordTeam
DiscordTeamMember
DiscordThreadMember
DiscordThreadMetadata
DiscordToken
DiscordTokenWebhook
DiscordUser
DiscordVoiceRegion
DiscordVoiceState
DiscordWebhook
DiscordWelcomeScreen
DiscordWelcomeScreenChannel

Exceptions / Errors

DiscordApiException