Fix the event embeds not having the user's avatar on the thumbnail
This commit is contained in:
parent
0b498eb023
commit
d23e2d2935
5 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,7 @@ export default async function GuildMemberAdd(member: GuildMember) {
|
||||||
.setTitle('Member Joined')
|
.setTitle('Member Joined')
|
||||||
.setDescription(`${member.user} \`${member.user.tag}\``)
|
.setDescription(`${member.user} \`${member.user.tag}\``)
|
||||||
.setFooter({ text: `Id: ${member.user.id}` })
|
.setFooter({ text: `Id: ${member.user.id}` })
|
||||||
|
.setThumbnail(member.avatarURL())
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
name: 'Created',
|
name: 'Created',
|
||||||
|
|
|
@ -13,6 +13,7 @@ export default async function GuildMemberRemove(member: GuildMember) {
|
||||||
.setTitle('Member Left')
|
.setTitle('Member Left')
|
||||||
.setDescription(`${member.user} \`${member.user.tag}\``)
|
.setDescription(`${member.user} \`${member.user.tag}\``)
|
||||||
.setFooter({ text: `Id: ${member.user.id}` })
|
.setFooter({ text: `Id: ${member.user.id}` })
|
||||||
|
.setThumbnail(member.avatarURL())
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
name: 'Joined',
|
name: 'Joined',
|
||||||
|
|
|
@ -14,6 +14,7 @@ export default async function NicknameChanged(oldMember: GuildMember, newMember:
|
||||||
.setTitle('Nickname Changed')
|
.setTitle('Nickname Changed')
|
||||||
.setDescription(`${newMember.user} \`${newMember.user.tag}\``)
|
.setDescription(`${newMember.user} \`${newMember.user.tag}\``)
|
||||||
.setFooter({ text: `Id: ${newMember.user.id}` })
|
.setFooter({ text: `Id: ${newMember.user.id}` })
|
||||||
|
.setThumbnail(newMember.avatarURL())
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
name: 'Before',
|
name: 'Before',
|
||||||
|
|
|
@ -17,6 +17,7 @@ export default async function MessageDelete(message: Message) {
|
||||||
.setColor(EmbedColours.Ok)
|
.setColor(EmbedColours.Ok)
|
||||||
.setTitle("Message Deleted")
|
.setTitle("Message Deleted")
|
||||||
.setDescription(`${message.author} \`${message.author.tag}\``)
|
.setDescription(`${message.author} \`${message.author.tag}\``)
|
||||||
|
.setThumbnail(message.author.avatarURL())
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
name: "Channel",
|
name: "Channel",
|
||||||
|
|
|
@ -18,6 +18,7 @@ export default async function MessageUpdate(oldMessage: Message, newMessage: Mes
|
||||||
.setColor(EmbedColours.Ok)
|
.setColor(EmbedColours.Ok)
|
||||||
.setTitle("Message Edited")
|
.setTitle("Message Edited")
|
||||||
.setDescription(`${newMessage.author} \`${newMessage.author.tag}\``)
|
.setDescription(`${newMessage.author} \`${newMessage.author.tag}\``)
|
||||||
|
.setThumbnail(newMessage.author.avatarURL())
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
name: "Channel",
|
name: "Channel",
|
||||||
|
|
Loading…
Reference in a new issue