From ae97f04bc95fc556529efaae740250eebf2915cc Mon Sep 17 00:00:00 2001 From: loicbersier Date: Mon, 12 Aug 2019 14:23:26 +0200 Subject: [PATCH] require at the right directory --- commands/fun/fakebot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/fakebot.js b/commands/fun/fakebot.js index 2408a1a6..325516e3 100644 --- a/commands/fun/fakebot.js +++ b/commands/fun/fakebot.js @@ -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({