Templates

Welcome message

Greets everyone who joins the server.

Welcome, $mention!
$title[Welcome to $serverName]
$description[You are member number $memberCount. Say hi in the chat!]
$color[#cba6f7]

Daily coins

Members collect 100 coins once a day.

$cooldown[24h;You already got your coins today. Come back in %time%.]
$addVar[coins;100]
You got **100** coins! You now have **$getVar[coins]**.

Balance

Shows how many coins someone has.

$if[$mentioned==]
You have **$getVar[coins]** coins.
$else
$displayName[$mentioned] has **$getVar[coins;$mentioned]** coins.
$endif

Leaderboard

Lists the members with the most coins.

$title[Richest members]
$description[$leaderboard[coins;10;%rank%. %mention%: %value% coins]]
$footer[You are number $rank[coins]]
$color[#f9e2af]

Magic 8-ball

Answers any yes or no question.

$onlyIf[$messageWordCount>0;Ask me a question after the command.]
🎱 $randomChoice[Yes!;No.;Maybe.;Ask again later.;Definitely!;I don't think so.;Without a doubt.;Very unlikely.]

Coin flip

Flips a coin: heads or tails.

$randomChoice[Heads;Tails]!

Quiz

Asks a question and checks the answer, with 30 seconds to reply.

$title[Quiz time!]
$description[What is the capital of France? You have 30 seconds.]
$waitForMessage[quiz-answer;30s;quiz-timeout]
$if[$sameText[$awaitedMessage;Paris]==true]
Correct, $mention!
$else
Not quite. The answer was **Paris**.
$endif
Time is up! The answer was **Paris**.

Reaction role

Members react with ✅ to get the Member role, and lose it when they remove the reaction.

$needPermission[manage roles;You need the Manage Roles permission to set this up.]
$setVar[roleMessage;$sendMessage[$channelID;React with ✅ to get the **Member** role.;yes]]
$deleteCommand
$if[$and[$messageID==$getVar[roleMessage];$reactionEmoji==✅]]
$giveRole[$userID;Member]
$endif
$if[$and[$messageID==$getVar[roleMessage];$reactionEmoji==✅]]
$takeRole[$userID;Member]
$endif

Kick

Moderators kick a member, with an optional reason.

$needPermission[kick members;You need the Kick Members permission to kick people.]
$onlyIf[$mentioned!=;Mention who to kick, like: kick @someone being rude]
$onlyIf[$mentioned!=$userID;You cannot kick yourself.]
$kick[$mentioned;$messageFrom[2]]
$displayName[$mentioned] was kicked.

Ban

Moderators ban a member and say why.

$needPermission[ban members;You need the Ban Members permission to ban people.]
$onlyIf[$mentioned!=;Mention who to ban and why, like: ban @someone spamming links]
$onlyIf[$messageWordCount>1;Add a reason after the mention.]
$onlyIf[$mentioned!=$userID;You cannot ban yourself.]
$ban[$mentioned;$messageFrom[2]]
$displayName[$mentioned] was banned. Reason: $messageFrom[2]