mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 16:19:12 +02:00
Make browser and mobile embeds not suck
This commit is contained in:
@@ -20,11 +20,6 @@ module.exports = class EmbedCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { text }) {
|
||||
const embed = new MessageEmbed()
|
||||
.setAuthor(msg.author.tag, msg.author.displayAvatarURL())
|
||||
.setColor(0x00AE86)
|
||||
.setTimestamp()
|
||||
.setDescription(text);
|
||||
return msg.embed(embed);
|
||||
return msg.embed(new MessageEmbed().setDescription(text));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user