* Smol stuff

This commit is contained in:
Christopher Cookman 2023-08-18 15:51:48 -06:00
parent 977b852697
commit 83fd191f5b
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42
2 changed files with 5 additions and 1 deletions

View file

@ -218,6 +218,6 @@
{
"name": "wordscramble",
"description": "Trigger a word scramble (admin only)",
"type": 1,
"type": 1
}
]

View file

@ -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({