mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Make browser and mobile embeds not suck
This commit is contained in:
@@ -23,8 +23,8 @@ module.exports = class MessageInfoCommand extends Command {
|
||||
run(msg, { message }) {
|
||||
const embed = new MessageEmbed()
|
||||
.setColor(message.member ? message.member.displayHexColor : 0x00AE86)
|
||||
.setThumbnail(message.author.displayAvatarURL())
|
||||
.setAuthor(msg.author.tag, msg.author.displayAvatarURL())
|
||||
.setThumbnail(message.author.displayAvatarURL({ format: 'png' }))
|
||||
.setAuthor(msg.author.tag, msg.author.displayAvatarURL({ format: 'png' }))
|
||||
.setDescription(message.content)
|
||||
.setTimestamp(message.createdAt)
|
||||
.setFooter(`ID: ${message.id}`)
|
||||
|
||||
Reference in New Issue
Block a user