fixed issue with starboard

This commit is contained in:
loicbersier 2019-01-11 12:21:05 +01:00
parent 9e99841e87
commit 8a14097c2d

View file

@ -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()