ðŸĪŠFun

Commands inside of the fun cog

Command

Usage

Description

hello

+hello

Greets the user with a random greeting

Aliases: hi

dice

+dice <die_string>

Rolls a certain number of n-sided dice. Displays the result of each roll and also the sum of all of the rolls.

Arguments

die_string is [number of die to roll]d[number of sides on each die]. For example, 5d6 means rolling 5 six-sided die.

Note: This command will not work for over 25 dice.

Aliases: roll

Example: +dice 5d6

echo

+echo <message>

Repeats a message back to the user and deletes the original message.

Arguments

message is the message to echo back

Aliases: say

Example: +echo hello world

enoch

+enoch

Sends one of Enoch's signature quotes from Agents of SHIELD.

setscore

+setscore <user> <score>

Sets the score of the mentioned user to exactly the score provided.

Arguments

user - the user's mention (use @user)

score - an integer greater than or equal to 0 to be used as the user's new score Checks

Only users with administrator permissions can use this command.

Example: +setscore @JohnDoe 25

givepoints

+givepoints

Gives mentioned user the requested points by adding the score provided with their current score and updating the scoreboard with that sum. To take away points, use a negative score.

Arguments

user - the user's mention (use @user)

score - an integer of how many points to be added

Note: The user's score cannot go below 0 points.

Aliases: givepts

Checks

Only users with the C4T, Teacher, Developer, and/or Enoch Bot Developer role can use this command.

Example: +givepoints @JohnDoe 25

viewdb

+viewdb

Sends the whole SQL database as a string. Just in case you're debugging something.

Checks

Only users with administrator permissions can use this command.

myscore

+myscore

Sends the scoreboard page on which the user that called the command's score lies.

scoreboard

+scoreboard <page>

Sends the scoreboard. If a page is provided, it will send the provided page, if that page is a valid page. If that page is an invalid page, it will send the first page.

Arguments

page - (optional) the page number of the scoreboard to display

Example: +scoreboard 5

cleardb

+cleardb

Clears the score database. Aliases: resetdb, deldb

Checks

Only users with administrator permissions can use this command.

rmscore

+rmscore <user>

Deletes the given user's score from the score database.

Arguments

user - the user's mention (use @user)

Aliases: removescore, deletescore, delscore

Checks

Only users with administrator permissions can use this command.

Example: +rmscore @JohnDoe

version

+version

Sends the current version of Enoch bot.

Last updated