From 54ed1d2e0ea917a5f05cd437e90cc1d72a3a77a9 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Thu, 6 Dec 2018 04:38:11 +0100 Subject: [PATCH] fixed major fuck up --- commands/utility/unstag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/utility/unstag.js b/commands/utility/unstag.js index 3fc6db51..d9b964a0 100644 --- a/commands/utility/unstag.js +++ b/commands/utility/unstag.js @@ -34,7 +34,7 @@ module.exports = class CustomResponseCommand extends Command { console.log(err); } else { customresponse = JSON.parse(data); //now it an object - customresponse [trigger] = { 'response': '', 'server': '' } + customresponse [trigger] = { 'response': '', 'server': message.guild.id } json = JSON.stringify(customresponse); //convert it back to json fs.writeFile('DiscordBot/json/customresponse.json', json, 'utf8', function(err) { if(err) {