-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommands.json
44 lines (44 loc) · 2.23 KB
/
commands.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"commands": [
{
"command": "%reverse",
"syntax": "%reverse <text>",
"description": "Returns <text> flipped backwards."
},
{
"command": "%commands",
"syntax": "%commands",
"description": "Returns a list of all commands supported by tryptobot."
},
{
"command": "%cmdinfo",
"syntax": "%cmdinfo <command>",
"description": "Returns a detailed description of <command>, if <command> is a command supported by tryptobot. Don't forget to include the leading percentage sign."
},
{
"command": "%bonk",
"syntax": "%bonk <user>",
"description": "Sends <user> to horny jail."
},
{
"command": "%roll",
"syntax": "%roll <count>d<n>[+<modifier>]",
"description": "Returns the result of rolling <count> virtual dice with <n> faces. <count> and <n> must be integers less than 2³¹-1. Negative values of <n> are a syntax error. Results are decently fair; they are calculated using libc's `rand()` function, seeded with `srand(time(NULL))`. If a modifier is used, it will be added to the result of the dice roll. It is undefined behavior to use values for <count>, <n>, and <modifier> such that results greater than 2³¹-1 are mathematically possible. See also `%reroll`."
},
{
"command": "%reroll",
"syntax": "%reroll",
"description": "Rerolls the last valid dice roll. For example, if the last person to roll the dice rolled 2d20, this command will roll 2d20 and return the result. This command may be repeated an indefinite number of times. Invalid dice rolls will be ignored."
},
{
"command": "%calcmod",
"syntax": "%calcmod <ability score>",
"description": "Calculates the appropriate Modifier for the given Ability score."
},
{
"command": "%dnd",
"syntax": "%dnd <subcommand> [args]",
"description": "Allows you to use digitally stored DnD character sheets. Currently supported values of <subcommand> are `query` and `wtf`. `query` is used to get data from a character sheet and `wtf` is used to get whatever was the last recorded error message on the backend. The value of [args] is defined by the choice of <subcommand>. For more info, ping the server moderator (Dante)."
}
]
}