Type aliases
ActionRowComponents
ActivityType
AnyApplicationCommand
AnyChannel
AnyGuildChannel
AnyInteraction
AnyThreadChannel
AnyVoiceChannel
ApplicationCommandOptions
ApplicationCommandOptionsBoolean
ApplicationCommandOptionsChannel
ApplicationCommandOptionsInteger
ApplicationCommandOptionsIntegerWithAutocomplete
ApplicationCommandOptionsIntegerWithMinMax
ApplicationCommandOptionsIntegerWithoutAutocomplete
ApplicationCommandOptionsMentionable
ApplicationCommandOptionsNumber
ApplicationCommandOptionsNumberWithAutocomplete
ApplicationCommandOptionsNumberWithMinMax
ApplicationCommandOptionsNumberWithoutAutocomplete
ApplicationCommandOptionsRole
ApplicationCommandOptionsString
ApplicationCommandOptionsStringWithAutocomplete
ApplicationCommandOptionsStringWithoutAutocomplete
ApplicationCommandOptionsUser
ApplicationCommandOptionsWithValue
ApplicationCommandPermissionTypes
Application
CommandPermissionTypes: Constants["ApplicationCommandPermissionTypes"][keyof Constants["ApplicationCommandPermissionTypes"]]
ApplicationCommandStructure
ApplicationCommandTypes
Application
CommandTypes: Constants["ApplicationCommandTypes"][keyof Constants["ApplicationCommandTypes"]]
AutoArchiveDuration
AutoArchiveDuration: 60 | 1440 | 4320 | 10080
BotActivityType
Bot
ActivityType: Constants["ActivityTypes"][Exclude<keyof Constants["ActivityTypes"], "CUSTOM">]
Button
ButtonStyles
ChannelTypes
ChatInputApplicationCommand
ChatInputApplicationCommandStructure
CommandGenerator
CommandGeneratorFunction
Component
ConnectionVisibilityTypes
Connection
VisibilityTypes: Constants["ConnectionVisibilityTypes"][keyof Constants["ConnectionVisibilityTypes"]]
ConverterCommand
ConverterCommand: "./ffmpeg" | "./avconv" | "ffmpeg" | "avconv"
DefaultNotifications
Default
Notifications: Constants["DefaultMessageNotificationLevels"][keyof Constants["DefaultMessageNotificationLevels"]]
ExplicitContentFilter
Explicit
ContentFilter: Constants["ExplicitContentFilterLevels"][keyof Constants["ExplicitContentFilterLevels"]]
FriendSuggestionReasons
FriendSuggestionReasons: { name: string; platform_type: string; type: number }[]
GeneratorFunctionReturn
GenericCheckFunction
Generic
CheckFunction<T>: (msg: Message) => T | Promise<T>
Type parameters
Type declaration
-
-
Parameters
Returns T | Promise<T>
GuildChannelTypes
GuildFeatures
Guild
Features: Constants["GuildFeatures"][number]
GuildIntegrationExpireBehavior
Guild
IntegrationExpireBehavior: Constants["GuildIntegrationExpireBehavior"][keyof Constants["GuildIntegrationExpireBehavior"]]
GuildIntegrationTypes
Guild
IntegrationTypes: Constants["GuildIntegrationTypes"][number]
GuildPublicThreadChannelTypes
GuildTextChannelTypes
Guild
TextChannelTypes: Constants["ChannelTypes"][keyof Pick<Constants["ChannelTypes"], "GUILD_TEXT" | "GUILD_NEWS">]
GuildTextableChannel
GuildTextableWithThread
GuildThreadChannelTypes
Guild
ThreadChannelTypes: Constants["ChannelTypes"][keyof Pick<Constants["ChannelTypes"], "GUILD_NEWS_THREAD" | "GUILD_PRIVATE_THREAD" | "GUILD_PUBLIC_THREAD">]
ImageFormat
Image
Format: Constants["ImageFormats"][number]
IntentStrings
InteractionCallbackData
InteractionContent
Interaction
Content: Pick<WebhookPayload, "content" | "embeds" | "allowedMentions" | "tts" | "flags" | "components">
InteractionContentEdit
Interaction
ContentEdit: Pick<WebhookPayload, "content" | "embeds" | "allowedMentions" | "components">
InteractionDataOptions
InteractionDataOptionsBoolean
InteractionDataOptionsChannel
InteractionDataOptionsInteger
InteractionDataOptionsMentionable
InteractionDataOptionsNumber
InteractionDataOptionsRole
InteractionDataOptionsString
InteractionDataOptionsUser
InteractionDataOptionsWithValue
InteractionResponseTypes
Interaction
ResponseTypes: Constants["InteractionResponseTypes"][keyof Constants["InteractionResponseTypes"]]
InteractionTypes
InviteChannel
InviteTargetTypes
MFALevel
MessageActivityFlags
Message
ActivityFlags: Constants["MessageActivityFlags"][keyof Constants["MessageActivityFlags"]]
MessageApplicationCommand
MessageApplicationCommandStructure
MessageContent
MessageContentEdit
MessageWebhookContent
Message
WebhookContent: Pick<WebhookPayload, "content" | "embeds" | "file" | "allowedMentions" | "components">
NSFWLevel
PermissionType
Permission
Type: Constants["PermissionOverwriteTypes"][keyof Constants["PermissionOverwriteTypes"]]
PossiblyUncachedGuild
PossiblyUncachedMessage
PossiblyUncachedTextable
PossiblyUncachedTextableChannel
PremiumTier
PremiumTypes
PrivateChannelTypes
Private
ChannelTypes: Constants["ChannelTypes"][keyof Pick<Constants["ChannelTypes"], "DM" | "GROUP_DM">]
ReactionButtonsFilterFunction
Reaction
ButtonsFilterFunction: (msg: Message, emoji: Emoji, userID: string) => boolean
Type declaration
-
-
Parameters
Returns boolean
ReactionButtonsGenerator
ReactionButtonsGeneratorFunction
Type declaration
-
-
Parameters
-
-
args: string[]
-
userID: string
ReconnectDelayFunction
ReconnectDelayFunction: (lastDelay: number, attempts: number) => number
Type declaration
-
- (lastDelay: number, attempts: number): number
-
Parameters
-
lastDelay: number
-
attempts: number
Returns number
RequestMethod
RequestMethod: "GET" | "PATCH" | "DELETE" | "POST" | "PUT"
SelfStatus
Self
Status: Status | "invisible"
StageInstancePrivacyLevel
Stage
InstancePrivacyLevel: Constants["StageInstancePrivacyLevel"][keyof Constants["StageInstancePrivacyLevel"]]
Status
Status: "online" | "idle" | "dnd"
StickerFormats
StickerTypes
SystemChannelFlags
System
ChannelFlags: Constants["SystemChannelFlags"][keyof Constants["SystemChannelFlags"]]
TextChannelTypes
TextVoiceChannelTypes
Text
VoiceChannelTypes: Constants["ChannelTypes"][keyof Pick<Constants["ChannelTypes"], "GUILD_VOICE" | "GUILD_STAGE">]
TextableChannel
UserApplicationCommand
UserApplicationCommandStructure
UserStatus
User
Status: Status | "offline"
VerificationLevel
VideoQualityMode
WebhookTypes