From 256b8566d7ff35628a7d76cd8b01d27985d0191b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Mon, 8 Jul 2019 23:49:36 +0200 Subject: [PATCH] fixed command --- commands/owner/removeResponse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/owner/removeResponse.js b/commands/owner/removeResponse.js index 38bce8af..24c94851 100644 --- a/commands/owner/removeResponse.js +++ b/commands/owner/removeResponse.js @@ -28,7 +28,7 @@ class removeResponseCommand extends Command { } async exec(message, args) { - const autoresponse = await autoResponse.findOne({where: {trigger: args.trigger, serverID: message.guild.id}}); + const autoresponse = await autoResponse.findOne({where: {trigger: args.trigger}}); if (autoresponse) { autoResponse.destroy({where: {trigger: args.trigger}}); return message.channel.send('Sucesffuly deleted the following autoresponse: ' + args.trigger);