-
Notifications
You must be signed in to change notification settings - Fork 3
/
bot-commands.json
55 lines (55 loc) · 1.67 KB
/
bot-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
45
46
47
48
49
50
51
52
53
54
55
[
{
"name": "checkrooms",
"type": 1,
"description": "Check if a set of rooms are free during a given period.",
"options": [
{
"name": "rooms",
"description": "The room codes to query, separated by whitespace and case-insensitive.",
"type": 3,
"required": true
},
{
"name": "times",
"description": "The hours to query in 24-hour time, separated by whitespace (like '8 12'). Defaults to current hour.",
"type": 3
}
]
},
{
"name": "labfree",
"type": 1,
"description": "Check if the labs in the McNulty building are free during an hour-long period.",
"options": [
{
"name": "times",
"description": "The hours to query in 24-hour time, separated by whitespace (like '8 12'). Defaults to current hour.",
"type": 3
}
]
},
{
"name": "timetable",
"type": 1,
"description": "Find a timetable for a course and day",
"options": [
{
"name": "course",
"description": "The code for the course you want to query. Case insensitive.",
"type": 3,
"required": true
},
{
"name": "day",
"description": "The day of this week to check for. Defaults to today.",
"type": 3
}
]
},
{
"name": "ping",
"type": 1,
"description": "Check if the bot is currently alive."
}
]