Modules
Standard Library
Third Party Modules
NPM
Docs
Manual
API
Deploy
Community
Discord
GitHub
Twitter
YouTube
Mastodon
Search...
⌘ K
!--frsh-globalsearch:0-->
Module
x
/
discordeno
/
template
/
beginner
/
mod.ts
Discord API library for Deno
discordeno/discordeno
Very Popular
Version
18.0.1
18.0.0
17.2.0
17.0.1
17.1.0
17.0.0
16.0.1
16.0.0
15.0.3
15.0.2
15.0.1
15.0.0
14.0.1
14.0.0
13.0.0
13.0.0-rc51
13.0.0-rc50
13.0.0-rc49
13.0.0-rc48
13.0.0-rc47
13.0.0-rc46
13.0.0-rc45
13.0.0-rc44
13.0.0-rc43
13.0.0-rc42
13.0.0-rc41
13.0.0-rc40
13.0.0-rc39
13.0.0-rc38
13.0.0-rc37
13.0.0-rc36
13.0.0-rc35
13.0.0-rc34
13.0.0-rc33
13.0.0-rc32
13.0.0-rc31
13.0.0-rc30
13.0.0-rc29
13.0.0-rc28
13.0.0-rc27
13.0.0-rc26
13.0.0-rc25
13.0.0-rc24
13.0.0-rc23
13.0.0-rc22
13.0.0-rc21
13.0.0-rc20
13.0.0-rc19
13.0.0-rc18
13.0.0-rc17
13.0.0-rc16
13.0.0-rc15
13.0.0-rc14
13.0.0-rc13
13.0.0-rc12
13.0.0-rc11
13.0.0-rc10
13.0.0-rc9
13.0.0-rc8
13.0.0-rc7
13.0.0-rc6
13.0.0-rc5
13.0.0-rc4
13.0.0-rc3
13.0.0-rc2
13.0.0-rc1
12.0.1
12.0.0
12.0.0-rc.5
12.0.0-rc.4
12.0.0-rc.3
12.0.0-rc.2
12.0.0-rc.1
11.2.0
11.1.0
11.0.3
11.0.2
11.0.1
11.0.0
11.0.0-rc.10
11.0.0-rc.9
11.0.0-rc.8
11.0.0-rc.7
11.0.0-rc.6
11.0.0-rc.5
11.0.0-rc.4
11.0.0-rc.3
11.0.0-rc.2
11.0.0-rc.1
10.5.0
10.4.0
10.3.0
10.2.0
10.1.0
10.0.2
10.0.1
10.0.0
9.4.1
9.4.0
9.3.0
9.2.0
9.1.0
9.0.16
9.0.15
9.0.14
9.0.12
9.0.10
v9.0.9
v9.0.8
v9.0.7
v9.0.6
v9.0.5
v9.0.4
v9.0.1
v8.4.1
v8.0.0
v7.4.0
v7.3.0
v7.0.1
v7.0.0
v6.2.0
v6.1.2
v6.1.1
v6.1.0
v6.0.0
v5.1.1
v5.1.0
v5.0.0
v4.0.1
v4.0.0
v3.0.0
v2.0.0
Go to Latest
!--frsh-versionselect:1-->
Menu
src
mod.ts
(default module)
bot.ts
I
BotClient
v
Bot
configs.ts
I
Config
v
configs
deps.ts
c
Collection
c
EmojiToggles
c
GuildToggles
c
Kwik
c
KwikTable
c
MemberToggles
c
RoleToggles
c
ToggleBitfield
c
ToggleBitfieldBigint
c
UserToggles
c
VoiceStateToggles
I
ActionRow
I
Activity
I
AllowedMentions
I
Application
I
ApplicationCommand
I
ApplicationCommandOption
I
ApplicationCommandOptionChoice
I
ApplicationCommandPermission
I
ApplicationCommandPermissions
I
Attachment
I
AuditLogEntry
I
BaseRole
I
BeginGuildPrune
I
Bot
I
BotGatewayHandlerOptions
I
BotWithFileLoader
I
BotWithHelpersPlugin
I
ButtonComponent
I
CacheProps
I
Channel
I
CollectionOptions
I
CollectionSweeper
I
Component
I
CreateApplicationCommand
I
CreateBotOptions
I
CreateChannelInvite
I
CreateContextApplicationCommand
I
CreateGuild
I
CreateGuildBan
I
CreateGuildChannel
I
CreateGuildEmoji
I
CreateGuildFromTemplate
I
CreateGuildRole
I
CreateMessage
I
CreateRestManagerOptions
I
CreateScheduledEvent
I
CreateTemplate
I
CreateWebhook
I
DeleteWebhookMessageOptions
I
DiscordActionRow
I
DiscordActivity
I
DiscordActivityAssets
I
DiscordActivityButton
I
DiscordActivityEmoji
I
DiscordActivityParty
I
DiscordActivitySecrets
I
DiscordActivityTimestamps
I
DiscordAddGuildDiscoverySubcategory
I
DiscordAllowedMentions
I
DiscordApplication
I
DiscordApplicationCommand
I
DiscordApplicationCommandOption
I
DiscordApplicationCommandOptionChoice
I
DiscordApplicationCommandPermissions
I
DiscordApplicationWebhook
I
DiscordAttachment
I
DiscordAuditLog
I
DiscordAuditLogEntry
I
DiscordBan
I
DiscordButtonComponent
I
DiscordChannel
I
DiscordChannelMention
I
DiscordChannelPinsUpdate
I
DiscordClientStatus
I
DiscordComponent
I
DiscordConnection
I
DiscordDiscoveryCategory
I
DiscordDiscoveryMetadata
I
DiscordDiscoveryName
I
DiscordEmbed
I
DiscordEmbedAuthor
I
DiscordEmbedField
I
DiscordEmbedFooter
I
DiscordEmbedImage
I
DiscordEmbedProvider
I
DiscordEmbedThumbnail
I
DiscordEmbedVideo
I
DiscordEmoji
I
DiscordenoShard
I
DiscordFollowedChannel
I
DiscordGatewayPayload
I
DiscordGetGatewayBot
I
DiscordGuild
I
DiscordGuildApplicationCommandPermissions
I
DiscordGuildBanAddRemove
I
DiscordGuildEmojisUpdate
I
DiscordGuildIntegrationsUpdate
I
DiscordGuildMemberAdd
I
DiscordGuildMemberRemove
I
DiscordGuildMembersChunk
I
DiscordGuildMemberUpdate
I
DiscordGuildPreview
I
DiscordGuildRoleCreate
I
DiscordGuildRoleDelete
I
DiscordGuildRoleUpdate
I
DiscordGuildWidget
I
DiscordHello
I
DiscordIncomingWebhook
I
DiscordInputTextComponent
I
DiscordIntegration
I
DiscordIntegrationAccount
I
DiscordIntegrationApplication
I
DiscordIntegrationCreateUpdate
I
DiscordIntegrationDelete
I
DiscordInteraction
I
DiscordInteractionData
I
DiscordInteractionDataResolved
I
DiscordInteractionMember
I
DiscordInvite
I
DiscordInviteCreate
I
DiscordInviteDelete
I
DiscordInviteMetadata
I
DiscordInviteStageInstance
I
DiscordListActiveThreads
I
DiscordMember
I
DiscordMemberWithUser
I
DiscordMessage
I
DiscordMessageActivity
I
DiscordMessageDelete
I
DiscordMessageDeleteBulk
I
DiscordMessageInteraction
I
DiscordMessageReactionAdd
I
DiscordMessageReactionRemove
I
DiscordMessageReactionRemoveAll
I
DiscordMessageReference
I
DiscordOptionalAuditEntryInfo
I
DiscordOverwrite
I
DiscordPresenceUpdate
I
DiscordReaction
I
DiscordReady
I
DiscordRole
I
DiscordRoleTags
I
DiscordScheduledEvent
I
DiscordScheduledEventEntityMetadata
I
DiscordScheduledEventUserAdd
I
DiscordScheduledEventUserRemove
I
DiscordSelectMenuComponent
I
DiscordSelectOption
I
DiscordSessionStartLimit
I
DiscordStageInstance
I
DiscordSticker
I
DiscordStickerItem
I
DiscordStickerPack
I
DiscordTeam
I
DiscordTeamMember
I
DiscordTemplate
I
DiscordThreadListSync
I
DiscordThreadMember
I
DiscordThreadMemberBase
I
DiscordThreadMemberGuildCreate
I
DiscordThreadMembersUpdate
I
DiscordThreadMemberUpdate
I
DiscordThreadMetadata
I
DiscordTypingStart
I
DiscordUnavailableGuild
I
DiscordUser
I
DiscordValidateDiscoverySearchTerm
I
DiscordVoiceRegion
I
DiscordVoiceServerUpdate
I
DiscordVoiceState
I
DiscordWebhookUpdate
I
DiscordWelcomeScreen
I
DiscordWelcomeScreenChannel
I
EditGuildRole
I
EditMessage
I
EditScheduledEvent
I
EditWebhookMessage
I
Embed
I
Emoji
I
EventHandlers
I
ExecuteWebhook
I
FileContent
I
GatewayManager
I
GetGatewayBot
I
GetGuildAuditLog
I
GetGuildPruneCountQuery
I
GetGuildWidgetImageQuery
I
GetInvite
I
GetMessagesAfter
I
GetMessagesAround
I
GetMessagesBefore
I
GetMessagesLimit
I
GetReactions
I
GetScheduledEvents
I
GetScheduledEventUsers
I
GetWebhookMessageOptions
I
Guild
I
GuildWidget
I
Helpers
I
HelperUtils
I
InputTextComponent
I
Integration
I
Interaction
I
InteractionApplicationCommandCallbackData
I
InteractionDataOption
I
InteractionDataResolved
I
InteractionResponse
I
Invite
I
ListGuildMembers
I
ListPublicArchivedThreads
I
Member
I
Message
I
ModifyChannel
I
ModifyGuild
I
ModifyGuildChannelPositions
I
ModifyGuildDiscoveryMetadata
I
ModifyGuildEmoji
I
ModifyGuildMember
I
ModifyGuildTemplate
I
ModifyGuildWelcomeScreen
I
ModifyRolePositions
I
ModifyThread
I
ModifyWebhook
I
Overwrite
I
OverwriteReadable
I
PresenceUpdate
I
RequestGuildMembers
I
RestPayload
I
RestRateLimitedPath
I
RestRequest
I
Role
I
ScheduledEvent
I
SearchMembers
I
SelectMenuComponent
I
SelectOption
I
StageInstance
I
StartThreadWithMessage
I
StartThreadWithoutMessage
I
StatusUpdate
I
Sticker
I
StickerPack
I
Team
I
Template
I
ThreadMember
I
ThreadMemberGuildCreate
I
Transformers
I
UpdateOthersVoiceState
I
UpdateSelfVoiceState
I
UpdateVoiceState
I
User
I
VerifySignatureOptions
I
VoiceRegions
I
VoiceState
I
Webhook
I
WebSocketRequest
I
WelcomeScreen
I
WelcomeScreenChannel
T
AtLeastOne
T
BotHelpersWithCache
T
BotWithCache
T
CamelCase
T
Camelize
T
DefaultHelpers
T
DiscordAuditLogChange
T
DiscordInteractionDataOption
T
DiscordMessageComponents
T
DiscordMessageReactionRemoveEmoji
T
DiscordWebhook
T
EmbedTypes
T
EmojiToggleKeys
T
FinalHelpers
T
GatewayDebugEvents
T
GatewayDispatchEventNames
T
GatewayEventNames
T
GetMessagesOptions
T
GuildToggleKeys
T
Id
T
ImageFormat
T
ImageSize
T
KeysWithUndefined
T
MakeRequired
T
MemberToggleKeys
T
MessageComponents
T
Optionalize
T
PermissionStrings
T
PickPartial
T
RemoveFirstFromTuple
T
RestManager
T
RoleToggleKeys
T
StatusTypes
T
UnPromise
T
UserToggleKeys
T
VoiceStateToggleKeys
v
API_VERSION
v
BASE_URL
v
baseEndpoints
v
CHANNEL_MENTION_REGEX
v
CONTEXT_MENU_COMMANDS_NAME_REGEX
v
decode
v
defaultHelpers
v
DISCORD_SNOWFLAKE_REGEX
v
DISCORDENO_VERSION
v
dmChannelIds
v
EmojiToggle
v
encode
v
endpoints
v
GATEWAY_VERSION
v
GuildToggle
v
IMAGE_BASE_URL
v
MemberToggle
v
paths
v
rest
v
RoleToggle
v
SLASH_COMMANDS_NAME_REGEX
v
statusTypes
v
uniqueFilePathCounter
v
USER_AGENT
v
UserToggle
v
VoiceStateToggle
f
addCacheCollections
f
addDiscoverySubcategory
f
addReaction
f
addReactions
f
addRole
f
addToThread
f
archiveThread
f
avatarURL
f
banMember
f
batchEditApplicationCommandPermissions
f
bgBlack
f
bgBlue
f
bgBrightBlack
f
bgBrightBlue
f
bgBrightCyan
f
bgBrightGreen
f
bgBrightMagenta
f
bgBrightRed
f
bgBrightWhite
f
bgBrightYellow
f
bgCyan
f
bgGreen
f
bgMagenta
f
bgRed
f
bgRgb24
f
bgRgb8
f
bgWhite
f
bgYellow
f
bigintToSnowflake
f
black
f
blue
f
bold
f
botHasChannelPermissions
f
botHasGuildPermissions
f
brightBlack
f
brightBlue
f
brightCyan
f
brightGreen
f
brightMagenta
f
brightRed
f
brightWhite
f
brightYellow
f
calculateBasePermissions
f
calculateBits
f
calculateChannelOverwrites
f
calculateMaxShards
f
calculatePermissions
f
calculateShardId
f
channelOverwriteHasPermission
f
checkRateLimits
f
cleanupQueues
f
cloneChannel
f
closeWS
f
connectToVoiceChannel
f
createApplicationCommand
f
createBaseHelpers
f
createBot
f
createBotConstants
f
createBotGatewayHandlers
f
createChannel
f
createEmoji
f
createEventHandlers
f
createGatewayManager
f
createGuild
f
createGuildFromTemplate
f
createGuildTemplate
f
createHelpers
f
createInvite
f
createRequestBody
f
createRestManager
f
createRole
f
createScheduledEvent
f
createShard
f
createStageInstance
f
createTransformers
f
createUtils
f
createWebhook
f
cyan
f
default
f
delay
f
deleteApplicationCommand
f
deleteChannel
f
deleteChannelOverwrite
f
deleteEmoji
f
deleteFollowupMessage
f
deleteGuild
f
deleteGuildTemplate
f
deleteIntegration
f
deleteInteractionResponse
f
deleteInvite
f
deleteMessage
f
deleteMessages
f
deleteRole
f
deleteScheduledEvent
f
deleteStageInstance
f
deleteWebhook
f
deleteWebhookMessage
f
deleteWebhookWithToken
f
dim
f
disconnectMember
f
dispatchRequirements
f
dotEnvConfig
f
editApplicationCommandPermissions
f
editBotNickname
f
editBotProfile
f
editBotStatus
f
editChannel
f
editChannelOverwrite
f
editDiscovery
f
editEmoji
f
editFollowupMessage
f
editGuild
f
editGuildTemplate
f
editInteractionResponse
f
editMember
f
editMessage
f
editRole
f
editScheduledEvent
f
editThread
f
editWebhook
f
editWebhookMessage
f
editWebhookWithToken
f
editWelcomeScreen
f
editWidget
f
emojiUrl
f
enableCachePlugin
f
enableCacheSweepers
f
enableFileLoaderPlugin
f
enableHelpersPlugin
f
enablePermissionsPlugin
f
fastFileLoader
f
fetchMembers
f
fileLoader
f
followChannel
f
formatImageURL
f
getActiveThreads
f
getApplicationCommand
f
getApplicationCommandPermission
f
getApplicationCommandPermissions
f
getApplicationCommands
f
getApplicationInfo
f
getArchivedThreads
f
getAuditLogs
f
getAvailableVoiceRegions
f
getBan
f
getBans
f
getChannel
f
getChannelInvites
f
getChannels
f
getChannelWebhooks
f
getColorEnabled
f
getDiscovery
f
getDiscoveryCategories
f
getDmChannel
f
getEmoji
f
getEmojis
f
getFollowupMessage
f
getGatewayBot
f
getGuild
f
getGuildPreview
f
getGuildTemplates
f
getIntegrations
f
getInvite
f
getInvites
f
getMember
f
getMembers
f
getMembersPaginated
f
getMessage
f
getMessages
f
getMissingChannelPermissions
f
getMissingGuildPermissions
f
getOriginalInteractionResponse
f
getPins
f
getPruneCount
f
getReactions
f
getRoles
f
getScheduledEvent
f
getScheduledEvents
f
getScheduledEventUsers
f
getStageInstance
f
getTemplate
f
getThreadMember
f
getThreadMembers
f
getUser
f
getVanityUrl
f
getVoiceRegions
f
getWebhook
f
getWebhookMessage
f
getWebhooks
f
getWebhookWithToken
f
getWelcomeScreen
f
getWidget
f
getWidgetImageURL
f
getWidgetSettings
f
gray
f
green
f
guildBannerURL
f
guildIconURL
f
guildSplashURL
f
handleChannelCreate
f
handleChannelDelete
f
handleChannelPinsUpdate
f
handleChannelUpdate
f
handleGuildBanAdd
f
handleGuildBanRemove
f
handleGuildCreate
f
handleGuildDelete
f
handleGuildEmojisUpdate
f
handleGuildIntegrationsUpdate
f
handleGuildLoaded
f
handleGuildMemberAdd
f
handleGuildMemberRemove
f
handleGuildMembersChunk
f
handleGuildMemberUpdate
f
handleGuildRoleCreate
f
handleGuildRoleDelete
f
handleGuildRoleUpdate
f
handleGuildScheduledEventCreate
f
handleGuildScheduledEventDelete
f
handleGuildScheduledEventUpdate
f
handleGuildScheduledEventUserAdd
f
handleGuildScheduledEventUserRemove
f
handleGuildUpdate
f
handleIntegrationCreate
f
handleIntegrationDelete
f
handleIntegrationUpdate
f
handleInteractionCreate
f
handleInviteCreate
f
handleInviteDelete
f
handleMessageCreate
f
handleMessageDelete
f
handleMessageDeleteBulk
f
handleMessageReactionAdd
f
handleMessageReactionRemove
f
handleMessageReactionRemoveAll
f
handleMessageReactionRemoveEmoji
f
handleMessageUpdate
f
handleOnMessage
f
handlePresenceUpdate
f
handleReady
f
handleStageInstanceCreate
f
handleStageInstanceDelete
f
handleStageInstanceUpdate
f
handleThreadCreate
f
handleThreadDelete
f
handleThreadListSync
f
handleThreadMembersUpdate
f
handleThreadUpdate
f
handleTypingStart
f
handleUserUpdate
f
handleVoiceServerUpdate
f
handleVoiceStateUpdate
f
handleWebhooksUpdate
f
hasChannelPermissions
f
hasGuildPermissions
f
hasProperty
f
heartbeat
f
hidden
f
higherRolePosition
f
highestRole
f
iconBigintToHash
f
iconHashToBigInt
f
identify
f
importDirectory
f
inverse
f
isContextApplicationCommand
f
isGetMessagesAfter
f
isGetMessagesAround
f
isGetMessagesBefore
f
isGetMessagesLimit
f
isHigherPosition
f
italic
f
joinThread
f
kickMember
f
leaveGuild
f
leaveThread
f
lockThread
f
magenta
f
makeOptionsForCommand
f
markNewGuildShardId
f
missingPermissions
f
modifyRolePositions
f
moveMember
f
nitroStickerPacks
f
packOverwrites
f
pinMessage
f
prepareBuckets
f
processGatewayQueue
f
processGlobalQueue
f
processQueue
f
processRateLimitedPaths
f
processRequest
f
processRequestHeaders
f
pruneMembers
f
publishMessage
f
red
f
removeAllReactions
f
removeDiscoverySubcategory
f
removeReaction
f
removeReactionEmoji
f
removeRole
f
removeThreadMember
f
requireBotChannelPermissions
f
requireBotGuildPermissions
f
requireChannelPermissions
f
requireGuildPermissions
f
requireOverwritePermissions
f
reset
f
resharder
f
resharderCloseOldShards
f
resharderIsPending
f
reshardingEditGuildShardIds
f
resume
f
rgb24
f
rgb8
f
runMethod
f
safeRequestsPerShard
f
searchMembers
f
sendAutocompleteChoices
f
sendDirectMessage
f
sendInteractionResponse
f
sendMessage
f
sendPrivateInteractionResponse
f
sendShardMessage
f
sendWebhook
f
separateOverwrites
f
setColorEnabled
f
setupCacheEdits
f
setupCacheRemovals
f
simplifyUrl
f
snowflakeToBigint
f
spawnShards
f
startBot
f
startReshardingChecks
f
startThreadWithMessage
f
startThreadWithoutMessage
f
startTyping
f
stopBot
f
stopGateway
f
strikethrough
f
stripColor
f
suppressEmbeds
f
swapChannels
f
syncGuildTemplate
f
tellWorkerToIdentify
f
transformActivity
f
transformApplication
f
transformApplicationCommand
f
transformApplicationCommandOption
f
transformApplicationCommandPermission
f
transformAttachment
f
transformAuditlogEntry
f
transformChannel
f
transformComponent
f
transformEmbed
f
transformEmoji
f
transformGatewayBot
f
transformGuild
f
transformIntegration
f
transformInteraction
f
transformInteractionDataOption
f
transformInteractionDataResolved
f
transformInvite
f
transformMember
f
transformMessage
f
transformPresence
f
transformRole
f
transformScheduledEvent
f
transformStageInstance
f
transformSticker
f
transformStickerPack
f
transformTeam
f
transformTemplate
f
transformThreadMember
f
transformThreadMemberGuildCreate
f
transformUser
f
transformVoiceRegion
f
transformVoiceState
f
transformWebhook
f
transformWelcomeScreen
f
transformWidget
f
unarchiveThread
f
unbanMember
f
underline
f
unlockThread
f
unpinMessage
f
updateBotVoiceState
f
updateStageInstance
f
updateUserVoiceState
f
upsertApplicationCommand
f
upsertApplicationCommands
f
validateComponents
f
validateLength
f
validatePermissions
f
validDiscoveryTerm
f
verifySignature
f
white
f
yellow
E
ActivityFlags
E
ActivityTypes
E
AllowedMentionsTypes
E
ApplicationCommandOptionTypes
E
ApplicationCommandPermissionTypes
E
ApplicationCommandTypes
E
ApplicationFlags
E
AuditLogEvents
E
BitwisePermissionFlags
E
ButtonStyles
E
ChannelTypes
E
DefaultMessageNotificationLevels
E
Errors
E
ExplicitContentFilterLevels
E
GatewayCloseEventCodes
E
GatewayIntents
E
GatewayOpcodes
E
GuildFeatures
E
GuildNsfwLevel
E
HTTPResponseCodes
E
IntegrationExpireBehaviors
E
InteractionResponseTypes
E
InteractionTypes
E
InviteTargetTypes
E
JsonErrorCodes
E
MessageActivityTypes
E
MessageComponentTypes
E
MessageTypes
E
MfaLevels
E
OverwriteTypes
E
PremiumTiers
E
PremiumTypes
E
RpcCloseEventCodes
E
RpcErrorCodes
E
ScheduledEventEntityType
E
ScheduledEventPrivacyLevel
E
ScheduledEventStatus
E
StickerFormatTypes
E
StickerTypes
E
SystemChannelFlags
E
TargetTypes
E
TeamMembershipStates
E
TextStyles
E
UserFlags
E
VerificationLevels
E
VideoQualityModes
E
VisibilityTypes
E
VoiceCloseEventCodes
E
VoiceOpcodes
E
WebhookTypes
This module does not provide any exports.
Why Deno?
Develop Locally
Deploy Globally
Compare to Node.js
Benchmarks
Products
Deno CLI
Deno Deploy
Deploy Subhosting
Fresh
SaaSKit
Sources
CLI Manual
CLI Runtime API
Deploy Docs
Standard Library
Third-Party Modules
Community
Artworks
Translations
Showcase
Company
Careers
Blog
Pricing
News
Merch
Privacy Policy
Copyright © 2023 Deno Land Inc.
All rights reserved.