Foreword
Changelog
1.
Guides
❱
1.1.
Introduction
1.2.
Beginning
❱
1.2.1.
Bot Status
1.2.2.
Commands Anatomy
1.2.3.
Gateway Intents
1.2.4.
Variables
1.3.
General
❱
1.3.1.
Awaited Commands
1.3.2.
BDScript 2
❱
1.3.2.1.
Async
1.3.2.2.
Error Handling
1.3.3.
Buttons
1.3.4.
HTTP Requests
1.3.5.
If Statements
1.3.6.
Modals
1.3.7.
Select Menu
1.3.8.
Slash Commands
❱
1.3.8.1.
Auto Complete
1.3.9.
Threads
1.3.10.
Text Splitting
1.3.11.
Webhooks
1.4.
Other
❱
1.4.1.
Character Escaping
1.4.2.
Hyperlinks
1.4.3.
Share Code
2.
Resources
❱
2.1.
Introduction
2.2.
API
2.3.
BDFD's Creation
2.4.
Discord's ID System
2.5.
Embed Indexes
2.6.
2FA & Elevated Permissions
2.7.
Permissions
2.8.
Security
2.9.
Time Format
3.
BDScript
❱
3.1.
Introduction
3.2.
$addButton
3.3.
$addCmdReactions
3.4.
$addEmoji
3.5.
$addField
3.6.
$addReactions
3.7.
$addSelectMenuOption
3.8.
$addTextInput
3.9.
$addTimestamp
3.10.
$allMembersCount
3.11.
$allowMention
3.12.
$allowRoleMentions
3.13.
$allowUserMentions
3.14.
$alternativeParsing
3.15.
$and
3.16.
$argCount
3.17.
$argsCheck
3.18.
$author
3.19.
$authorAvatar
3.20.
$authorIcon
3.21.
$authorID
3.22.
$authorOfMessage
3.23.
$authorURL
3.24.
$ban
3.25.
$banID
3.26.
$blackListIDs
3.27.
$blackListRoles
3.28.
$blackListRolesIDs
3.29.
$blackListServers
3.30.
$blackListUsers
3.31.
$botCommands
3.32.
$botID
3.33.
$botLeave
3.34.
$botListDescription
3.35.
$botListHide
3.36.
$botNode
3.37.
$botTyping
3.38.
$c
3.39.
$calculate
3.40.
$changeCooldownTime
3.41.
$changeUsername
3.42.
$changeUsernameWithID
3.43.
$channelCount
3.44.
$channelExists
3.45.
$channelID
3.46.
$channelName
3.47.
$channelPosition
3.48.
$channelSendMessage
3.49.
$channelTopic
3.50.
$channelType
3.51.
$charCount
3.52.
$checkCondition
3.53.
$checkContains
3.54.
$checkUserPerms
3.55.
$clear
3.56.
$clearReactions
3.57.
$closeTicket
3.58.
$color
3.59.
$colorRole
3.60.
$commandsCount
3.61.
$cooldown
3.62.
$createChannel
3.63.
$createRole
3.64.
$creationDate
3.65.
$cropText
3.66.
$customEmoji
3.67.
$customID
3.68.
$date
3.69.
$day
3.70.
$defer
3.71.
$deleteChannels
3.72.
$deleteChannelsByName
3.73.
$deletecommand
3.74.
$deleteIn
3.75.
$deleteMessage
3.76.
$deleteRole
3.77.
$description
3.78.
$disableSpecialEscaping
3.79.
$discriminator
3.80.
$divide
3.81.
$dm
3.82.
$dmChannelID
3.83.
$editButton
3.84.
$editChannelPerms
3.85.
$editEmbedIn
3.86.
$editIn
3.87.
$editMessage
3.88.
$editSelectMenu
3.89.
$editSelectMenuOption
3.90.
$editThread
3.91.
$embeddedURL
3.92.
$embedSuppressErrors
3.93.
$emoteCount
3.94.
$enabled
3.95.
$enableDecimals
3.96.
$ephemeral
3.97.
$eval
3.98.
$executionTime
3.99.
$findChannel
3.100.
$findRole
3.101.
$findUser
3.102.
$footer
3.103.
$footerIcon
3.104.
$getBotInvite
3.105.
$getCooldown
3.106.
$getEmbedData
3.107.
$getInviteInfo
3.108.
$getLeaderboardValue
3.109.
$getMessage
3.110.
$getReactions
3.111.
$getRoleColor
3.112.
$getServerInvite
3.113.
$getServerVar
3.114.
$getTextSplitIndex
3.115.
$getTextSplitLength
3.116.
$getTimestamp
3.117.
$getUserStatus
3.118.
$getUserVar
3.119.
$getVar
3.120.
$giveRole
3.121.
$globalCooldown
3.122.
$globalUserLeaderboard
3.123.
$guildExists
3.124.
$guildID
3.125.
$hasRole
3.126.
$highestRole
3.127.
$highestRoleWithPerms
3.128.
$hostingExpireTime
3.129.
$hour
3.130.
$hypesquad
3.131.
$ignoreChannels
3.132.
$ignoreLinks
3.133.
$image
3.134.
$input
3.135.
$isAdmin
3.136.
$isBanned
3.137.
$isBoolean
3.138.
$isBot
3.139.
$isHoisted
3.140.
$isMentionable
3.141.
$isNSFW
3.142.
$isNumber
3.143.
$isSlash
3.144.
$isUserDMEnabled
3.145.
$isValidHex
3.146.
$joinSplitText
3.147.
$kick
3.148.
$kickMention
3.149.
$lowestRole
3.150.
$lowestRoleWithPerms
3.151.
$max
3.152.
$membersCount
3.153.
$mentioned
3.154.
$mentionedChannels
3.155.
$mentionedRoles
3.156.
$message
3.157.
$messageID
3.158.
$min
3.159.
$minute
3.160.
$modifyChannel
3.161.
$modifyChannelPerms
3.162.
$modifyRole
3.163.
$modifyRolePerms
3.164.
$modulo
3.165.
$month
3.166.
$multi
3.167.
$mute
3.168.
$newModal
3.169.
$newSelectMenu
3.170.
$newTicket
3.171.
$nickname
3.172.
$nomention
3.173.
$noMentionMessage
3.174.
$numberSeparator
3.175.
$onlyAdmin
3.176.
$onlyBotChannelPerms
3.177.
$onlyBotPerms
3.178.
$onlyForCategories
3.179.
$onlyForChannels
3.180.
$onlyForIDs
3.181.
$onlyForRoles
3.182.
$onlyForRoleIDs
3.183.
$onlyForServers
3.184.
$onlyForUsers
3.185.
$onlyIf
3.186.
$onlyIfMessageContains
3.187.
$onlyNSFW
3.188.
$onlyPerms
3.189.
$or
3.190.
$ping
3.191.
$pinMessage
3.192.
$premiumExpireTime
3.193.
$publishMessage
3.194.
$random
3.195.
$randomChannelID
3.196.
$randomMention
3.197.
$randomString
3.198.
$randomText
3.199.
$randomUser
3.200.
$randomUserID
3.201.
$removeButtons
3.202.
$removeComponent
3.203.
$removeContains
3.204.
$removeLinks
3.205.
$removeSplitTextElement
3.206.
$repeatMessage
3.207.
$replaceText
3.208.
$reply
3.209.
$replyIn
3.210.
$resetServerVar
3.211.
$resetUserVar
3.212.
$roleCount
3.213.
$roleExists
3.214.
$roleGrant
3.215.
$roleID
3.216.
$roleInfo
3.217.
$roleName
3.218.
$roleNames
3.219.
$rolePosition
3.220.
$round
3.221.
$scriptLanguage
3.222.
$second
3.223.
$sendEmbedMessage
3.224.
$sendMessage
3.225.
$serverChannelExists
3.226.
$serverCooldown
3.227.
$serverCount
3.228.
$serverDescription
3.229.
$serverIcon
3.230.
$serverInfo
3.231.
$serverLeaderboard
3.232.
$serverName
3.233.
$serverNames
3.234.
$serverOwner
3.235.
$serverRegion
3.236.
$serverVerificationLvl
3.237.
$setServerVar
3.238.
$setUserVar
3.239.
$setVar
3.240.
$shardID
3.241.
$slashCommandsCount
3.242.
$slashID
3.243.
$slowmode
3.244.
$sort
3.245.
$splitText
3.246.
$startThread
3.247.
$sub
3.248.
$sum
3.249.
$suppressErrors
3.250.
$takeRole
3.251.
$textSplit
3.252.
$threadAddMember
3.253.
$threadRemoveMember
3.254.
$thumbnail
3.255.
$time
3.256.
$timeout
3.257.
$title
3.258.
$toLowercase
3.259.
$toTitleCase
3.260.
$toUppercase
3.261.
$trimContent
3.262.
$trimSpace
3.263.
$tts
3.264.
$unban
3.265.
$unbanID
3.266.
$unescape
3.267.
$unmute
3.268.
$unpinMessage
3.269.
$unregisterGuildCommands
3.270.
$untimeout
3.271.
$uptime
3.272.
$url
3.273.
$useChannel
3.274.
$userAvatar
3.275.
$userExists
3.276.
$userID
3.277.
$userInfo
3.278.
$userJoined
3.279.
$userJoinedDiscord
3.280.
$userLeaderboard
3.281.
$username
3.282.
$userPerms
3.283.
$userReacted
3.284.
$userRoles
3.285.
$userServerAvatar
3.286.
$var
3.287.
$varExistError
3.288.
$variablesCount
3.289.
$year
4.
Callbacks
❱
4.1.
Introduction
4.2.
$onJoined
4.3.
$onLeave
4.4.
$onBanAdd
4.5.
$onBanRemove
4.6.
$onMessageDelete
4.7.
$onInteraction
5.
Premium
❱
5.1.
Introduction
5.2.
Callbacks
❱
5.2.1.
$alwaysReply
5.2.2.
$messageContains
5.3.
Functions
❱
5.3.1.
$ignoreTriggerCase
5.3.2.
$sendNotification
5.4.
Features
❱
5.4.1.
Awaited Reactions
5.4.2.
Custom Images
5.4.3.
Custom Prefixes
5.4.4.
Embed Builder
6.
JavaScript
❱
6.1.
Introduction
❱
6.1.1.
Enabling JavaScript
6.2.
Objects
6.3.
Functions
❱
6.3.1.
ban
6.3.2.
banWithReason
6.3.3.
channelTyping
6.3.4.
createChannel
6.3.5.
giveRole
6.3.6.
kick
6.3.7.
kickWithReason
6.3.8.
pinMessage
6.3.9.
removeChannel
6.3.10.
sendChannelMessage
6.3.11.
setEmbedImage
6.3.12.
setEmbedResponse
6.3.13.
setResponse
6.3.14.
takeRole
6.3.15.
unban
6.3.16.
unpinMessage
Bot Designer for Discord
Shiro's Theme
Gluo
Kinda Neon
Light
Rust
Coal
Navy
Ayu
High Contrast
Green
iOS
Terminal
Bot Designer for Discord - Wiki
$executionTime
Returns how long the command took to execute, in milliseconds.
Usage
$executionTime