mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix anagramica not clearing playing status
This commit is contained in:
@@ -65,6 +65,7 @@ module.exports = class AnagramicaCommand extends Command {
|
||||
const msgs = await msg.channel.awaitMessages(filter, {
|
||||
time: time * 1000
|
||||
});
|
||||
this.client.games.delete(msg.channel.id);
|
||||
if (!msgs.size) return msg.reply('Couldn\'t even think of one? Ouch.');
|
||||
if (points < 1) return msg.reply(`Ouch, your final score was **${points}**. Try harder next time!`);
|
||||
return msg.reply(`Nice job! Your final score was **${points}**!`);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "114.31.1",
|
||||
"version": "114.31.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user