Fix the event embeds not having the user's avatar on the thumbnail (#213)
This commit is contained in:
parent
0b498eb023
commit
d688d292c3
5 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,7 @@ export default async function MessageDelete(message: Message) {
|
|||
.setColor(EmbedColours.Ok)
|
||||
.setTitle("Message Deleted")
|
||||
.setDescription(`${message.author} \`${message.author.tag}\``)
|
||||
.setThumbnail(message.author.avatarURL())
|
||||
.addFields([
|
||||
{
|
||||
name: "Channel",
|
||||
|
|
|
@ -18,6 +18,7 @@ export default async function MessageUpdate(oldMessage: Message, newMessage: Mes
|
|||
.setColor(EmbedColours.Ok)
|
||||
.setTitle("Message Edited")
|
||||
.setDescription(`${newMessage.author} \`${newMessage.author.tag}\``)
|
||||
.setThumbnail(newMessage.author.avatarURL())
|
||||
.addFields([
|
||||
{
|
||||
name: "Channel",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue