|
|
@ -67,7 +67,8 @@ class MessageReactionAddListener extends Listener {
|
|
|
|
.setFooter(reaction.count + ' ' + emote)
|
|
|
|
.setFooter(reaction.count + ' ' + emote)
|
|
|
|
.setTimestamp();
|
|
|
|
.setTimestamp();
|
|
|
|
|
|
|
|
|
|
|
|
if (reaction.message.channel.nsfw) {
|
|
|
|
// if message come from nsfw channel and the star/shameboard channel isn't nsfw put it in spoiler
|
|
|
|
|
|
|
|
if (reaction.message.channel.nsfw && !channel.nsfw) {
|
|
|
|
Embed.setDescription(`||${messageContent}||`);
|
|
|
|
Embed.setDescription(`||${messageContent}||`);
|
|
|
|
if (messageAttachments != '') {
|
|
|
|
if (messageAttachments != '') {
|
|
|
|
return channel.send(`||${messageAttachments}||`, {embed: Embed});
|
|
|
|
return channel.send(`||${messageAttachments}||`, {embed: Embed});
|
|
|
|