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) {