mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 08:45:55 +00:00
trivia: add more categories
This commit is contained in:
parent
204540f936
commit
3a229a5899
2 changed files with 14 additions and 2 deletions
|
@ -89,7 +89,7 @@ node bot.js
|
||||||
|
|
||||||
### Fun Commands
|
### Fun Commands
|
||||||
|
|
||||||
- **/trivia**: Starts a trivia game with video game-themed, Anime & Manga, Computers, Board Games, Comics, Cartoons & Animations, Film, General Knowledge and Science & Nature (more to come soon!) questions. Players have 30 seconds to answer.
|
- **/trivia**: Starts a trivia game with video game-themed, Anime & Manga, Computers, Board Games, Comics, Cartoons & Animations, Film, General Knowledge, Science, Animals, Music, History and Geography & Nature (more to come soon!) questions. Players have 30 seconds to answer.
|
||||||
|
|
||||||
- Accepts both number answers (1-4) **or** the correct answer
|
- Accepts both number answers (1-4) **or** the correct answer
|
||||||
- for example:
|
- for example:
|
||||||
|
|
|
@ -28,7 +28,11 @@ module.exports = {
|
||||||
{ name: "Comics", value: "29" },
|
{ name: "Comics", value: "29" },
|
||||||
{ name: "Cartoons & Animations", value: "32" },
|
{ name: "Cartoons & Animations", value: "32" },
|
||||||
{ name: "Film", value: "11" },
|
{ name: "Film", value: "11" },
|
||||||
{ name: "Science & Nature", value: "17" }
|
{ name: "Science & Nature", value: "17" },
|
||||||
|
{ name: "Animals", value: "27" },
|
||||||
|
{ name: "Music", value: "12" },
|
||||||
|
{ name: "History", value: "23" },
|
||||||
|
{ name: "Geography", value: "22" }
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
|
@ -72,6 +76,14 @@ module.exports = {
|
||||||
return "General Knowledge";
|
return "General Knowledge";
|
||||||
case "17":
|
case "17":
|
||||||
return "Science & Nature";
|
return "Science & Nature";
|
||||||
|
case "27":
|
||||||
|
return "Animals";
|
||||||
|
case "12":
|
||||||
|
return "Music";
|
||||||
|
case "23":
|
||||||
|
return "History";
|
||||||
|
case "22":
|
||||||
|
return "Geography";
|
||||||
default:
|
default:
|
||||||
return "Video Games";
|
return "Video Games";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue