trivia: add more categories

This commit is contained in:
Ayden Jahola 2024-09-06 01:23:00 +01:00
parent 204540f936
commit 3a229a5899
No known key found for this signature in database
GPG key ID: 71DD90AE4AE92742
2 changed files with 14 additions and 2 deletions

View file

@ -89,7 +89,7 @@ node bot.js
### 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
- for example:

View file

@ -28,7 +28,11 @@ module.exports = {
{ name: "Comics", value: "29" },
{ name: "Cartoons & Animations", value: "32" },
{ 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";
case "17":
return "Science & Nature";
case "27":
return "Animals";
case "12":
return "Music";
case "23":
return "History";
case "22":
return "Geography";
default:
return "Video Games";
}