forked from Supositware/Haha-Yes
fixed major fuck up
This commit is contained in:
parent
ba399e45b4
commit
54ed1d2e0e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue