From b416dd8e0a624c01d108b45fdc362b2b783c7b9e Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Fri, 6 Sep 2024 01:32:36 +0100 Subject: [PATCH] trivia: add more mythology --- README.md | 2 +- commands/fun/trivia.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index deda296..fa07270 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, 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 - for example: diff --git a/commands/fun/trivia.js b/commands/fun/trivia.js index 0b3c2be..7aedc33 100644 --- a/commands/fun/trivia.js +++ b/commands/fun/trivia.js @@ -32,7 +32,8 @@ module.exports = { { name: "Animals", value: "27" }, { name: "Music", value: "12" }, { name: "History", value: "23" }, - { name: "Geography", value: "22" } + { name: "Geography", value: "22" }, + { name: "Mythology", value: "20" } ) ), @@ -84,6 +85,8 @@ module.exports = { return "History"; case "22": return "Geography"; + case "20": + return "Mythology"; default: return "Video Games"; }