diff --git a/commands.json b/commands.json index cba7b94..0b30880 100644 --- a/commands.json +++ b/commands.json @@ -218,6 +218,6 @@ { "name": "wordscramble", "description": "Trigger a word scramble (admin only)", - "type": 1, + "type": 1 } ] diff --git a/index.js b/index.js index 5232611..4d8d0c1 100644 --- a/index.js +++ b/index.js @@ -795,6 +795,10 @@ client.on("interactionCreate", async interaction => { color: 0xffff00 }] }); + interaction.reply({ + content: "Word scramble started.", + ephemeral: true + }) // Set a timer for 30 seconds, if the word isn't guessed by then, delete the wordScrambles object wordScrambles[interaction.channel.id].timer = setTimeout(() => { interaction.channel.send({