Keywords

Home Commands Keywords Starting out with the bot Tutorials Webhooks

$name

Message Receive, Private Message, Member Join, Reaction Add

Inserts a mention of the user who called the command.

$avatar

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the avatar URL of the user who called the command.

$defaultAvatar

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the default avatar URL of the user who called the command.

$namePlain

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the plain text username of the user who called the command.

$discriminator

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the discriminator (the numbers after the #) of the user who called the command.

$tag

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the tag (in the form Username#1234) of the user who called the command.

$ID

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the unique ID number of the user who called the command.

$serversSharedWithBot

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the number of servers shared with the bot the user who called the command has.

$timeCreated

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the account creation time of the user who called the command.

$memberIsOwner

Message Receive

Is the member of the event the owner of the server.

$memberEffectiveName

Message Receive

This is the name the member goes by within the server.

$memberEffectiveAvatar

Message Receive

This is the avatar that the user has displayed within this specific server.

$memberID

Message Receive

The unique ID of the member.

$memberHasTimeJoined

Message Receive

Gives "true" or "false" denoting whether the user has a time they joined the server.

$memberTimeJoined

Message Receive

The time the member joined the server.

$memberHasBoosted

Message Receive

Has this member boosted the server?. Returns "true" or "false".

$memberTimeBoosted

Message Receive

What is the time the user boosted the server? If there is none we will get "null".

$mentionedName

Message Receive

Inserts a mention of the user mentioned in the call of the command.

$mentionedAvatar

Message Receive

Inserts the avatar URL of the user mentioned in the call of the command.

$mentionedDefaultAvatar

Message Receive

Inserts the default avatar URL of the user mentioned in the call of the command.

$mentionedNamePlain

Message Receive

Inserts the plain text username of the user mentioned in the call of the command.

$mentionedDiscriminator

Message Receive

Inserts the discriminator (the numbers after the #) of the user mentioned in the call of the command.

$mentionedTag

Message Receive

Inserts the tag (in the form Username#1234) of the user mentioned in the call of the command.

$mentionedID

Message Receive

Inserts the unique ID number of the user mentioned in the call of the command.

$mentionedServersSharedWithBot

Message Receive

Inserts the number of servers shared with the bot the user mentioned in the call of the command.

$mentionedTimeCreated

Message Receive

Inserts the account creation time of the user mentioned in the call of the command.

$botName

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts a mention of your bot.

$botAvatar

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the avatar URL of your bot.

$botDefaultAvatar

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the default avatar URL of your bot.

$botNamePlain

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the plain text username of your bot.

$botDiscriminator

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the discriminator (the numbers after the #) of your bot.

$botTag

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the tag (in the form Username#1234) of your bot.

$botID

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the unique ID number of your bot.

$botTimeCreated

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the account creation time of your bot.

$server

Message Receive, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the name of the server where the command was called.

$serverCount

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the number of the servers the bot is in.

$memberCount

Message Receive, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the number of users in the server where the command was called.

$allMemberCount

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the number of users in all server where the bot is.

$serverIcon

Message Receive, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the URL of the icon of the server where the command was called.

$serverBanner

Message Receive, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the URL of the server banner of the server where the command was called.

$serverDescription

Message Receive, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the description of the server where the command was called.

$serverSplash

Message Receive, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the URL of the splash of the server where the command was called.

$channel

Message Receive, Private Message, Reaction Add

Inserts the name of the channel where the message was sent.

$channelID

Message Receive, Reaction Add

Inserts the ID of the channel where the message was sent.

$channelCreateDate

Message Receive, Reaction Add

Inserts the time of creation of the channel where the message was sent.

$channelAsMention

Message Receive, Reaction Add

Inserts the mention of the channel where the message was sent.

$message

Message Receive, Private Message

Inserts the whole message of the called command.

$messageAfterCommand

Message Receive, Private Message

Inserts the message after the command part of the called command.

$eval

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Used to mark the start of a js code block. Must be followed by a $halt statement after the code is finished

$halt

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Used to mark the end of a js code block.

$get(name)

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the value of the js variable with that name.

$set(name,value)

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Used to set a js variable. Supports boolean "true" and "false" as well as numbers and strings.

$date

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the current date.

$hour

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the current hour.

$minute

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the current minute.

$second

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the current second.

$random{a|b|c}

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts a randomly selected string from the arguments located in the brackets {}. Strings must be separated using |.

$sum{1|2|3}

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the sum of its arguments located in the brackets {}. Numbers must be separated using |.

$commandCount

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the amount of commands the bot has.

$rollnum(min,max)

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts a random number between min and max inclusive.

$ping

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts the gateway ping.

$inviteURL

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Inserts URL to invite the bot to a server.

$setStatus{online|playing|games}

Message Receive, Private Message, Member Join, Member Leave, Member Ban, Reaction Add

Use to set status in commands. Values for first parameter include online, idle, dnd. Second parameter values are watching, playing, listening. The third parameter is the string of whatever. Important note is this is evaluated before $eval so you can not use $eval type keywords this.