Placeholders/Variables

Basic Placeholders

User

{@user} - Mentions a specific user, replace "user" with their username {user.id} - The ID of the user {user.nick} - The user’s nickname excluding the discriminator {user.nickname} - The user’s nickname including the discriminator {user} - The username of the user excluding the discriminator {user.username} - The user’s username including the discriminator {user.discriminator} - The user’s discriminator {user.avatar}- The user’s avatar URL {user.mention} - Mentions the user {user.createdAt} - The user’s registration date {user.joinedAt} - The user’s guild join date

Channel

{channel} - The channel name where the command was used {channel.id} - Channel ID {channel.name} - Channel name {channel.mention} - Channel mention {#channel} - A channel mention, replace "channel" with the name of the channel you want to mention

Guild

{server.id} - Server’s ID {server.name} - Server’s name {server.icon} - Server’s icon {server.memberCount} - Number of members in the server {server.ownerID} - Owner’s ID {server.createdAt} - Server’s creation date {server.region} - Server’s region {server.ownername} - Owner’s Username {server.splashurl} - Splash URL (if one is set) {server.bannerurl} - Banner URL (if one is set) {server.verificationlevel} - The server's verification/moderation level {server.vanityurl} - Vanity URL code {server.boostlevel} - Boosted tier level {server.boostcount} - The number of boosts the server has {server.vanityurl} - Vanity URL code {server.afkchannel} - AFK channel name {server.afk.timeout} - The AFK timeout (in minutes) {server.countallchannels} - The number of channels in the server {server.counttextchannels} - The number of text channels in the server {server.countvoicechannels} - The number of voice channels in the server {server.countemoji} - The number of emoji in the server {server.countroles} - The number of roles in the server

Role

{&role} - Mention a role by name, replace "role" with the role name

Time & Date

{time} - Current 24 hour time {time12} - Current 12 hour time {date} - Current date {datetime} - Current date with the 24 hour time {datetime12} - Current date with the 12 hour time

Currently, all times & dates are for the United States Eastern timezone. In the future, you will be able to select your timezone per-guild.

Other

{everyone} - Mentions @everyone {noeveryone} - Disables @everyone (being able to mention everyone) in the command {here} - Mentions @here {nohere} - Disables @here (being able to mention everyone online with @here) in the command {nomentions} - Disables ALL mentions in the command including @everyone, @here, role mentions & user mentions. {prefix} - Show command prefix for the server

Advanced Placeholders

Advanced Placeholders are not currently implemented and will NOT function. This is a list of planned placeholders.

Delete

{delete} - Delete command the player sent after its sent

Require

{require:role} - Set the required role or Server Moderator to use the command {require:#channel} - Set the required channel that the command can be run in

Examples:

{require:Administrator} //Administrator permissions
{require:ServerMod} //Server Moderator permissions
{require:Support} //Specifc name of a role
{require:237273200055156736} //Specific ID of a role
{require:<#225182513465786369>} //Specific channel mention
{not:#225182513465786369} //Specific channel mention

Not

{not:role} - Blacklist a specific role from using the command {not:#channel} - Blacklist the command from being run in a specific channel

Examples:

{not:Support} //Specifc name of a role
{not:237273200055156736} //Specific ID of a role
{not:<#225182513465786369>} //Specific channel mention
{not:#225182513465786369} //Specific channel mention

Respond

{respond:#channel} - The channel that the command will sent the response to

DM

{dm} - Direct message the bot response to the user who called the command {dm:user} - Direct message the bot response to the specified user

Spamming commands that use this variable will lead to your guild being blacklisted from using Custom Commands.

Choose & Choice

This feature is planned and is not currently implemented in the public version of Cakey Bot. Check back later for more information.

$N Variable

This feature is planned and is not currently implemented in the public version of Cakey Bot. Check back later for more information.