Browse Source

Replace separate round commands with single round command using subcommands

pull/10/head
Abheek Dhawan 4 years ago
parent
commit
6890d70b9b
  1. 19
      bot/awesomescibo.js

19
bot/awesomescibo.js

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

Loading…
Cancel
Save