From 8abb17c3f322413c0cb7ee9d0fb1575595e147ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Tue, 9 Jul 2019 02:19:44 +0200 Subject: [PATCH] fixed ownerid --- commands/admin/tag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/admin/tag.js b/commands/admin/tag.js index a18da24..cb8e389 100644 --- a/commands/admin/tag.js +++ b/commands/admin/tag.js @@ -37,7 +37,7 @@ class TagCommand extends Command { const tag = await Tag.findOne({where: {trigger: args.trigger, serverID: message.guild.id}}); if (!tag) { - const body = {trigger: args.trigger, response: args.response, owner: message.author.id, serverID: message.guild.id}; + const body = {trigger: args.trigger, response: args.response, ownerID: message.author.id, serverID: message.guild.id}; Tag.create(body); return message.channel.send(`autoresponse have been set to ${args.trigger} : ${args.response}`); } else {