From 593142699270b90b0f5236a0fa8a3b86c133ca2b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 18 May 2021 16:38:52 -0400 Subject: [PATCH] Fix lint --- commands/util/allow-cleverbot.js | 2 +- commands/util/disallow-cleverbot.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/util/allow-cleverbot.js b/commands/util/allow-cleverbot.js index 55b07a4c..50f56bf7 100644 --- a/commands/util/allow-cleverbot.js +++ b/commands/util/allow-cleverbot.js @@ -21,7 +21,7 @@ module.exports = class AllowCleverbotCommand extends Command { }); } - async run(msg, { target }) { + run(msg, { target }) { if (this.client.allowedUsers.includes(target)) return msg.say(`🧠 \`${target}\` is already allowed.`); this.client.allowedUsers.push(target); this.client.exportCleverbotAllowed(); diff --git a/commands/util/disallow-cleverbot.js b/commands/util/disallow-cleverbot.js index caac0d5b..dd6837cc 100644 --- a/commands/util/disallow-cleverbot.js +++ b/commands/util/disallow-cleverbot.js @@ -22,7 +22,7 @@ module.exports = class DisallowCleverbotCommand extends Command { }); } - async run(msg, { target }) { + run(msg, { target }) { if (!this.client.allowedUsers.includes(target)) return msg.say(`🧠 \`${target}\` is not allowed.`); removeFromArray(this.client.allowedUsers, target); this.client.exportCleverbotAllowed();