fix this.client

This commit is contained in:
loicbersier 2019-11-27 17:05:47 +01:00
parent 8f3fbfcf12
commit dc248cdb57

View file

@ -58,7 +58,7 @@ class MessageReactionAddListener extends Listener {
channel = client.channels.get(shameboardChannel['shameboard']); channel = client.channels.get(shameboardChannel['shameboard']);
} }
let Embed = this.client.util.embed() let Embed = client.util.embed()
.setColor(reaction.message.member.displayHexColor) .setColor(reaction.message.member.displayHexColor)
.setAuthor(reaction.message.author.username, reaction.message.author.displayAvatarURL()) .setAuthor(reaction.message.author.username, reaction.message.author.displayAvatarURL())
.addField('Jump to', `[message](https://discordapp.com/channels/${reaction.message.guild.id}/${reaction.message.channel.id}/${reaction.message.id})`, true) .addField('Jump to', `[message](https://discordapp.com/channels/${reaction.message.guild.id}/${reaction.message.channel.id}/${reaction.message.id})`, true)