1
0
Fork 0

require at the right directory

akairo
loicbersier 5 years ago
parent 3a505e4cd9
commit ae97f04bc9

@ -45,7 +45,7 @@ class fakebotCommand extends Command {
});
});
} else {
let webhook = reload(`./webhook/${message.guild.id}_${message.channel.id}.json`);
let webhook = reload(`../../webhook/${message.guild.id}_${message.channel.id}.json`);
this.client.fetchWebhook(webhook.id, webhook.token)
.then(webhook => {
webhook.edit({

Loading…
Cancel
Save