-
Notifications
You must be signed in to change notification settings - Fork 9
/
commandsDefinition.js
38 lines (38 loc) · 1.05 KB
/
commandsDefinition.js
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
module.exports = [
{
name: 'contest',
description: 'Get latest list of contest from popular websites',
options: [{
name: 'platform',
type: 'STRING',
description: 'Choose platform to find contests from',
required: true,
choices: [
{
name: 'Hackerearth',
value: 'hackerearth.com',
},
{
name: 'Codeforces',
value: 'codeforces.com',
},
{
name: 'GeeksForGeeks',
value: 'geeksforgeeks.org',
},
{
name: 'CodeChef',
value: 'codechef.com',
},
{
name: 'LeetCode',
value: 'leetcode.com',
},
{
name: 'Atcoder',
value: 'atcoder.jp',
},
],
}],
},
]