diff --git a/commands/fun/trivia.js b/commands/fun/trivia.js index e13e458..9a72d90 100644 --- a/commands/fun/trivia.js +++ b/commands/fun/trivia.js @@ -91,7 +91,7 @@ module.exports = { return "Video Games"; } })() - .replace(/[^a-zA-Z0-9 ]/g, "") + .replace(/[^a-zA-Z0-9 &]/g, "") .trim(); // Remove special characters and trim the category name for MongoDB query purposes in the Emebed title // Fetch a trivia question from the cache or the API