trivia: add more mythology

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

View file

@ -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, Science, Animals, Music, History and Geography & 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, Mythology 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:

View file

@ -32,7 +32,8 @@ module.exports = {
{ name: "Animals", value: "27" }, { name: "Animals", value: "27" },
{ name: "Music", value: "12" }, { name: "Music", value: "12" },
{ name: "History", value: "23" }, { name: "History", value: "23" },
{ name: "Geography", value: "22" } { name: "Geography", value: "22" },
{ name: "Mythology", value: "20" }
) )
), ),
@ -84,6 +85,8 @@ module.exports = {
return "History"; return "History";
case "22": case "22":
return "Geography"; return "Geography";
case "20":
return "Mythology";
default: default:
return "Video Games"; return "Video Games";
} }