forked from Supositware/Haha-Yes
require at the right directory
This commit is contained in:
parent
3a505e4cd9
commit
ae97f04bc9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue