Fix the event embeds not having the user's avatar on the thumbnail #213

Merged
Vylpes merged 1 commit from feature/205-event-embeds-thumbnails into develop 2022-11-04 18:07:00 +00:00
5 changed files with 5 additions and 0 deletions
Showing only changes of commit d23e2d2935 - Show all commits

View file

@ -13,6 +13,7 @@ export default async function GuildMemberAdd(member: GuildMember) {
.setTitle('Member Joined')
.setDescription(`${member.user} \`${member.user.tag}\``)
.setFooter({ text: `Id: ${member.user.id}` })
.setThumbnail(member.avatarURL())
.addFields([
{
name: 'Created',

View file

@ -13,6 +13,7 @@ export default async function GuildMemberRemove(member: GuildMember) {
.setTitle('Member Left')
.setDescription(`${member.user} \`${member.user.tag}\``)
.setFooter({ text: `Id: ${member.user.id}` })
.setThumbnail(member.avatarURL())
.addFields([
{
name: 'Joined',

View file

@ -14,6 +14,7 @@ export default async function NicknameChanged(oldMember: GuildMember, newMember:
.setTitle('Nickname Changed')
.setDescription(`${newMember.user} \`${newMember.user.tag}\``)
.setFooter({ text: `Id: ${newMember.user.id}` })
.setThumbnail(newMember.avatarURL())
.addFields([
{
name: 'Before',

View file

@ -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",

View file

@ -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",