trivia: add science and nature

This commit is contained in:
Ayden Jahola 2024-09-06 01:14:01 +01:00
parent 96a12f0f72
commit 204540f936
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 and General Knowledge (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 and Science & 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

@ -27,7 +27,8 @@ module.exports = {
{ name: "Board Games", value: "16" }, { name: "Board Games", value: "16" },
{ 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" }
) )
), ),
@ -69,6 +70,8 @@ module.exports = {
return "Film"; return "Film";
case "9": case "9":
return "General Knowledge"; return "General Knowledge";
case "17":
return "Science & Nature";
default: default:
return "Video Games"; return "Video Games";
} }