From d6bd1e9490f27399d4bd189da8305302eef3731c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 30 May 2020 00:25:09 -0400 Subject: [PATCH] Fix anagramica not clearing playing status --- commands/games-sp/anagramica.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/games-sp/anagramica.js b/commands/games-sp/anagramica.js index 5e247593..dc652be5 100644 --- a/commands/games-sp/anagramica.js +++ b/commands/games-sp/anagramica.js @@ -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}**!`); diff --git a/package.json b/package.json index 1375756b..763f407c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "114.31.1", + "version": "114.31.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {