|
@ -36,13 +36,22 @@ client.once("ready", () => { |
|
|
"description": "Replies with a help message explaining what the bot can do" |
|
|
"description": "Replies with a help message explaining what the bot can do" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"name": "round generate", |
|
|
"name": "round", |
|
|
"description": "Generates a round with randomized questions from https://scibowldb.com/" |
|
|
"options": [ |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"type": 1, |
|
|
"name": "round list", |
|
|
"name": "generate", |
|
|
"description": "Lists your 5 most recently generated rounds with links" |
|
|
"description": "Generates a round with randomized questions from https://scibowldb.com/", |
|
|
}, |
|
|
"options": [] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"type": 1, |
|
|
|
|
|
"name": "list", |
|
|
|
|
|
"description": "Lists your 5 most recently generated rounds with links", |
|
|
|
|
|
"options": [] |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
} |
|
|
]); |
|
|
]); |
|
|
|
|
|
|
|
|
// Connect to MongoDB using mongoose
|
|
|
// Connect to MongoDB using mongoose
|
|
|