diff --git a/index.js b/index.js index b9604a8..274e4da 100644 --- a/index.js +++ b/index.js @@ -785,7 +785,12 @@ client.on("interactionCreate", async interaction => { } // Start a word scramble - override = interaction.options.get("override").value; + if (interaction.options.get("override")) { + override = interaction.options.get("override").value; + } + else { + override = false; + ] gameData = wordScramble(override); wordScrambles[interaction.channel.id] = { word: gameData.word,