From 8a14097c2d43dff0073d049dcabaa5d9b2761d5a Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 11 Jan 2019 12:21:05 +0100 Subject: [PATCH] fixed issue with starboard --- event/listeners/messageReactionAdd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event/listeners/messageReactionAdd.js b/event/listeners/messageReactionAdd.js index cc18c4e9..0a65f1b9 100644 --- a/event/listeners/messageReactionAdd.js +++ b/event/listeners/messageReactionAdd.js @@ -21,7 +21,7 @@ class MessageReactionAddListener extends Listener { messageID.push(reaction.message.id); - let starboardChannel = reload(`../starboard/${reaction.message.guild.id}.json`); + let starboardChannel = reload(`../../starboard/${reaction.message.guild.id}.json`); const channel = this.client.channels.get(starboardChannel['starboard']); const starEmbed = new MessageEmbed() @@ -39,7 +39,7 @@ class MessageReactionAddListener extends Listener { messageID.push(reaction.message.id); - let shameboardChannel = reload(`../starboard/${reaction.message.guild.id}.json`); + let shameboardChannel = reload(`../../starboard/${reaction.message.guild.id}.json`); const channel = this.client.channels.get(shameboardChannel['shameboard']); const shameEmbed = new MessageEmbed()