Browse Source

Replace separate round commands with single round command using subcommands

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

23
bot/awesomescibo.js

@ -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

Loading…
Cancel
Save