Skip to content
aoi.js
Search
GitHub
Discord
Select theme
Dark
Light
Auto
Get Started
Guides
Client
Client Commands
Client Intents
Client Options
Client Permissions
Client Sharding
Client Status
Application Commands
Interaction Commands
Choices
Subcommands
Subcommand Groups
Autocomplete
Others
Character Escaping
Discord Events
Message Formatting
Parsers
Variables
Customs
Custom Functions
Custom Events
Hosting
Using Hosting Services
Using Termux
Extensions
@akarui
aoi.music
Setup
Events
Tools
Application Command Creator
Functions
Array
$arrayAt
$arrayConcat
$arrayEvery
$arrayFilter
$arrayFind
$arrayForEach
$arrayIncludes
$arrayIndexOf
$arrayJoin
$arrayLastIndexOf
$arrayLength
$arrayMap
$arrayPop
$arrayPush
$arrayReverse
$arrayShift
$arrayShuffle
$arraySome
$arraySort
$arraySplice
$arrayUnshift
$createArray
$deleteArray
$getArray
Awaited
$awaitCmdReactions
$awaitComponents
$awaitData
$awaitMessageReactions
$awaitMessages
$componentCollector
$reactionCollector
Client
$broadcastEval
$clientID
$clientLeave
$clientMutualGuilds
$clientOwnerIDs
$clientPrefixes
$clientToken
$clientTyping
$createCache
$createGuild
$deleteGuild
$djsEval
$eval
$exec
$executionTime
$fetch
$fetchClientValues
$getClientInvite
$killClient
$log
$nodeVersion
$onlyClientPerms
$packageDependencies
$packageVersion
$ping
$reboot
$setClientAvatar
$setClientBanner
$setClientName
$setStatus
$shutdown
$updateCommands
Database/Variable
$advanceCooldown
$channelCooldown
$closeTicket
$cooldown
$createTemporaryVar
$deleteVar
$getChannelVar
$getGlobalUserVar
$getGuildVar
$getLeaderboardInfo
$getMessageVar
$getUserVar
$getVar
$globalCooldown
$globalUserLeaderBoard
$guildLeaderboard
$newTicket
$rawLeaderboard
$resetGlobalUserVar
$resetGuildVar
$resetUserVar
$setChannelVar
$setGlobalUserVar
$setGuildVar
$setMessageVar
$setUserVar
$setVar
$userLeaderBoard
$variablesCount
Event
$alwaysExecute
$bulk
$channelUsed
$handleError
$newApplicationCmd
$newChannel
$newEmoji
$newGuild
$newMember
$newPresence
$newRole
$newState
$newUser
$newVariable
$oldApplicationCmd
$oldChannel
$oldEmoji
$oldGuild
$oldMember
$oldMessage
$oldMsgData
$oldPresence
$oldRole
$oldState
$oldUser
$oldVariable
$pinsUpdate
$reactionData
$shard
$slashOption
$textInputValue
$timeoutData
$timeoutList
$webhookUpdate
Embed
$addField
$addTimestamp
$attachment
$author
$color
$description
$footer
$image
$thumbnail
$title
Guild
$addEmoji
$addThreadMember
$archiveThread
$categoryChannels
$channelCategoryID
$channelCount
$channelID
$channelName
$channelNSFW
$channelOverwrites
$channelPermissionsFor
$channelTopic
$channelType
$cloneChannel
$createChannel
$createChannelInvite
$createGuildTemplate
$createRole
$createScheduledEvent
$createStageInstance
$createSticker
$createThread
$createWebhook
$deleteChannel
$deleteChannels
$deleteEmoji
$deleteEmojis
$deleteGuildTemplate
$deleteInvite
$deleteRoles
$deleteSticker
$deleteThread
$deleteWebhook
$editChannel
$editMessage
$findChannel
$findGuild
$findGuildChannel
$getGuildForumTags
$getGuildInvite
$getGuildTemplate
$getGuildTemplates
$getRoleColor
$giveRole
$giveRoles
$guildAFKChannelID
$guildAvailable
$guildBanner
$guildBoostCount
$guildBoostLevel
$guildBotCount
$guildChannelExists
$guildChannels
$guildCommunityUpdatesChannelID
$guildContentFilter
$guildCooldown
$guildCount
$guildCreatePost
$guildDefaultMessageNotifications
$guildDescription
$guildEditPost
$guildEmojiExists
$guildEmojis
$guildExists
$guildFeatures
$guildIcon
$guildID
$guildIDS
$guildLowestRole
$guildMaximumMembers
$guildMaxStageVideoChannelUsers
$guildMaxVideoChannelUsers
$guildMFALevel
$guildName
$guildNames
$guildNSFWLevel
$guildOwnerID
$guildPreferredLocale
$guildRandomID
$guildRoleIconURL
$guildRoles
$guildRulesChannelID
$guildSafetyChannelID
$guildShard
$guildShardID
$guildShardPing
$guildSplash
$guildSystemChannelID
$guildVanityURL
$guildVanityUses
$guildVerificationLevel
$guildWidgetChannelID
$hasAnyPerm
$hasAnyRole
$hasEmbeds
$hasGuildTemplate
$hasPerms
$hasPermsInChannel
$hasRoles
$guildHighestRole
$joinThread
$leaveThread
$lockThread
$messagePublish
$modifyChannelPerms
$modifyEmoji
$modifyRole
$modifyRolePerms
$modifyWebhook
$referenceChannelId
$referenceGuildId
$referenceMessageId
$removeRole
$removeRoles
$roleCount
$roleMembersCount
$roleName
$rolePerms
$rolePosition
$setChannelTopic
$setGuildBanner
$setGuildDiscoverySplash
$setGuildIcon
$setGuildName
$setRoleColor
$setRoleIcon
$setRolePosition
$setRoles
$unlockThread
Interaction
$addApplicationCommandPermissions
$addButton
$addButtonTo
$addClientReactions
$addCmdReactions
$addMessageReactions
$addSelectMenu
$addSelectMenuTo
$autoCompleteRespond
$awaitExecute
$ban
$clear
$clearReaction
$clearReactions
$createApplicationCommand
$createFile
$deleteApplicationCommand
$deleteButton
$deleteCommand
$deleteStageInstance
$dm
$editButton
$fetchActiveThreads
$fetchArchivedThreads
$getApplicationCommandID
$getApplicationCommandOptions
$getComponentCustomID
$getSelectMenuValues
$hasComponents
$interactionAttachment
$interactionData
$interactionDefer
$interactionDeferUpdate
$interactionDelete
$interactionEdit
$interactionFollowUp
$interactionModal
$interactionReply
$interactionUpdate
$isAutoComplete
$isButtonInteraction
$isCommandInteraction
$isComponentInteraction
$isContextMenuInteraction
$isSelectMenuInteraction
$kick
$killShard
$modifyApplicationCommand
$removeApplicationCommandPermissions
$reply
$respawnAllShards
$sendDm
$sendTTS
$setApplicationCommandPermissions
$slowmode
$spawnShard
$unban
Invite
Extension
$invite
$inviteChannelID
$inviteCode
$inviteeInfo
$inviteEventInfo
$inviteGuildID
$inviteJoins
$inviteLeaderboard
$inviteMaxUses
$inviterInfo
$inviteURL
$inviteUserID
$modifyInvite
$resetGuildInvites
$resetInvites
Math
$abbreviate
$abs
$ceil
$divide
$expandNumber
$floor
$math
$max
$min
$modulo
$multi
$ordinal
$pow
$root
$round
$roundTenth
$sub
$sum
$truncate
Message
$channelLastMessageID
$channelLastPinTimestamp
$channelPosition
$channelSendMessage
$deleteIn
$deleteMessage
$editIn
$editWebhookMessage
$hasAttachment
$message
$messageAttachment
$messageFlags
$messageID
$messagePing
$messageType
$messageURL
$messageWebhookID
$pinMessage
$sendCrosspostingMessage
$sendMessage
$sendSticker
$sendWebhookMessage
$unPinMessage
Misc
$index
$advancedTextSplit
$allChannelsCount
$allEmojisCount
$allMembersCount
$and
$appendFile
$argsCount
$banCount
$boostingSince
$cloneObject
$commandCode
$commandInfo
$commandName
$commandsCount
$cpu
$createObject
$customEmoji
$databasePing
$date
$datestamp
$day
$deleteFile
$deleteObject
$editObjectProperty
$editTextSplitElement
$elseif
$emojiCount
$endelseif
$endif
$error
$eventData
$eventEmit
$fileExists
$fileSize
$findInCache
$findObjectProperty
$findTextSplitIndex
$forEachChannel
$forEachGuild
$forEachGuildChannel
$forEachMember
$forEachRole
$forEachUser
$getAttachments
$getAuditLogs
$getBanReason
$getCacheData
$getChannelSlowmode
$getCooldownTime
$getEmbed
$getMessage
$getObject
$getObjectKeys
$getObjectProperty
$getObjectValues
$getReactions
$hour
$humanizeMs
$if
$ifAwaited
$interactionPing
$joinSplitText
$lerefAvatar
$loop
$map
$maxRam
$minute
$month
$noEscapingMessage
$noMentionMessage
$objectExists
$or
$reactionCount
$readFile
$readyTimestamp
$removeContains
$removeObjectProperty
$removeSplitTextElement
$removeTextSplitElement
$renameFile
$second
$setCacheData
$setObjectProperty
$setTimeout
$stopTimeout
$suppressErrors
$timeZone
$uptime
$uri
$useChannel
$voiceID
$wait
$webhookExists
$writeFile
$year
Music
Extension
$addFilter
$autoPlay
$clearQueue
$getCurrentTrackDuration
$getFilters
$hasPlayer
$joinVC
$leaveVC
$loopMode
$loopStatus
$pauseTrack
$playerStatus
$playPreviousTrack
$playTrack
$queue
$queueLength
$removeFilter
$resetFilter
$resumeTrack
$search
$seek
$setFilter
$shuffleQueue
$skipTo
$skipTrack
$songInfo
$stopPlayer
$stopTrack
$unshuffleQueue
$voicePing
$volume
User
$authorAvatar
$authorBanner
$authorBannerColor
$authorID
$cacheMembers
$deafenUser
$disconnectUser
$discriminator
$findMember
$findMembers
$hoistedRole
$isBotVerified
$memberAvatar
$memberDisplayColor
$memberDisplayName
$memberExists
$memberJoinDate
$memberJoinPosition
$memberPremiumSince
$membersCount
$moveUser
$muteUser
$pruneMembers
$referenceUserId
$removeThreadMember
$setUserNickname
$timeoutMember
$userActivity
$userAvatar
$userBadges
$userBanner
$userBannerColor
$userCustomStatus
$userDefaultAvatar
$userDisplayName
$userExists
$userGlobalName
$userHighestRole
$userHoistedRole
$userID
$userLowestRole
$username
$userNickname
$userPerms
$userPlatform
$userReacted
$userRoleColor
$userRoles
$userRolesCount
$usersBanned
$usersInChannel
$userStatus
$usersWithRole
$userTag
Util
$argsCheck
$argsSlice
$arrange
$channelExists
$charCount
$checkCondition
$checkContains
$comment
$concatTextSplit
$creationDate
$cropText
$digitalFormat
$disableMentionType
$emojiExists
$emojiName
$emojisFromMessage
$emojiURL
$filterMessage
$filterTextSplitElement
$findChars
$findNumbers
$findRole
$findRoles
$findSpecialChars
$findUser
$formatDate
$get
$getMentions
$getTextSplitLength
$httpRequest
$indexOf
$indexOfArg
$isBanned
$isBoosting
$isBot
$isChannelManageable
$isCustomEmoji
$isDeafen
$isDM
$isEveryoneMentioned
$isGuildDeafened
$isGuildMuted
$isGuildPartnered
$isGuildVerified
$isHoisted
$isInteger
$isMentionable
$isMentioned
$isMuted
$isNumber
$isRoleEditable
$isRoleManaged
$isSelfDeafened
$isSelfMuted
$isStreaming
$isThread
$isTicket
$isTimeout
$isUnicodeEmoji
$isUserDmEnabled
$isValidColor
$isValidHex
$isValidImageLink
$isValidInvite
$isValidLink
$isValidObject
$isVariableExist
$isVideoOn
$isVoice
$isWidgetEnabled
$jsonRequest
$let
$mentioned
$mentionedChannels
$mentionedChannelsCount
$mentionedRoles
$mentionedRolesCount
$mentionedUsersCount
$mentionType
$messageExists
$messageSlice
$nonEscape
$numberSeparator
$onlyForCategories
$onlyForChannels
$onlyForGuilds
$onlyForIDs
$onlyForRoles
$onlyIf
$onlyIfMessageContains
$onlyNSFW
$onlyPerms
$parseDate
$parseTime
$partial
$ram
$random
$randomChannelID
$randomEmoji
$randomRoleID
$randomShuffle
$randomString
$randomText
$randomUserID
$repeatMessage
$replaceText
$replaceTextWithRegex
$resolveColor
$resolveEmojiID
$resolveStickerID
$reverse
$roleExists
$roleId
$spliceTextJoin
$splitText
$stringEndsWith
$stringStartsWith
$tempCooldown
$test
$textSlice
$textSplit
$textSplitMap
$textTrim
$toLocaleUpperCase
$toLowerCase
$toUpperCase
GitHub
Discord
Select theme
Dark
Light
Auto
$map
$map
will execute awaited commands for given elements.
Usage
$map[
text
;
split
;
awaitedCmds
;
sep
?
]
Parameters
Field
Type
Description
Required
text
string
Text.
true
split
string
true
awaitedCmds
string
Awaited Commands to execute.
true
sep?
string
Separator.
false