Memory Command

This commit is contained in:
Dragon Fire
2020-05-20 11:17:57 -04:00
parent c3b46b2351
commit 513b91bcb0
4 changed files with 65 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class ReactionTimeCommand extends Command {
time: 30000
});
this.client.games.delete(msg.channel.id);
if (!msgs.size) return msg.say(`Failed to answer within 30 seconds.`);
if (!msgs.size) return msg.say('Failed to answer within 30 seconds.');
return msg.say(`Nice one! (Took ${(Date.now() - now) / 1000} seconds)`);
} catch (err) {
this.client.games.delete(msg.channel.id);