mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 21:40:51 +02:00
Fix Starboard
This commit is contained in:
@@ -68,7 +68,7 @@ client.on('messageReactionAdd', (reaction, user) => {
|
|||||||
else {
|
else {
|
||||||
if (reaction.message.attachments.size > 0 && reaction.message.attachments.first().height) {
|
if (reaction.message.attachments.size > 0 && reaction.message.attachments.first().height) {
|
||||||
const embed = new Discord.RichEmbed()
|
const embed = new Discord.RichEmbed()
|
||||||
.setAuthor(user.username, user.avatarURL)
|
.setAuthor(reaction.message.author.username, reaction.message.author.avatarURL)
|
||||||
.setColor(0xFFA500)
|
.setColor(0xFFA500)
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setImage(reaction.message.attachments.first().url)
|
.setImage(reaction.message.attachments.first().url)
|
||||||
|
|||||||
Reference in New Issue
Block a user