From 30d8258c5ab87138535b779cd05258a97b873039 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 20 Jul 2019 22:34:12 +0200 Subject: [PATCH] say when its not updating --- commands/admin/tag.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/admin/tag.js b/commands/admin/tag.js index f0bc94a0..15f66874 100644 --- a/commands/admin/tag.js +++ b/commands/admin/tag.js @@ -50,6 +50,8 @@ class TagCommand extends Command { const body = {trigger: args.trigger, response: args.response, ownerID: message.author.id, serverID: message.guild.id}; await Tag.update(body, {where: {trigger: args.trigger, serverID: message.guild.id}}); return message.channel.send(`tag have been set to ${args.trigger} : ${args.response}`); + } else { + return message.channel.send('Not updating.'); } }) .catch(err => {