From 204540f9366b9d88212de7b691891280d46e566e Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Fri, 6 Sep 2024 01:14:01 +0100 Subject: [PATCH] trivia: add science and nature --- README.md | 2 +- commands/fun/trivia.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8a8fb2..7c8ed13 100644 --- a/README.md +++ b/README.md @@ -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 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 - for example: diff --git a/commands/fun/trivia.js b/commands/fun/trivia.js index 560d910..37a92cf 100644 --- a/commands/fun/trivia.js +++ b/commands/fun/trivia.js @@ -27,7 +27,8 @@ module.exports = { { name: "Board Games", value: "16" }, { name: "Comics", value: "29" }, { 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"; case "9": return "General Knowledge"; + case "17": + return "Science & Nature"; default: return "Video Games"; }