From 83fd191f5b96f5d470e8873312659b93b433cebb Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Fri, 18 Aug 2023 15:51:48 -0600 Subject: [PATCH] * Smol stuff --- commands.json | 2 +- index.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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({