* Smol stuff
This commit is contained in:
parent
977b852697
commit
83fd191f5b
|
@ -218,6 +218,6 @@
|
|||
{
|
||||
"name": "wordscramble",
|
||||
"description": "Trigger a word scramble (admin only)",
|
||||
"type": 1,
|
||||
"type": 1
|
||||
}
|
||||
]
|
||||
|
|
4
index.js
4
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({
|
||||
|
|
Loading…
Reference in a new issue