v3.1.0 #317

Merged
Vylpes merged 76 commits from develop into main 2023-07-08 13:30:22 +01:00
5 changed files with 5 additions and 0 deletions
Showing only changes of commit d688d292c3 - Show all commits

View file

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

View file

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

View file

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

View file

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

View file

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