Remove IDs from logs

This commit is contained in:
Christopher Cookman 2024-06-16 21:20:12 -06:00
parent e623d25ab4
commit c1617eb513
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -111,15 +111,15 @@ client.on('inviteCreate', (invite) => { //if someone creates an invite while bot
}, },
{ {
name: "Guild", name: "Guild",
value: `${invite.guild.name}\n\`${invite.guild.id}\`` value: `${invite.guild.name}`
}, },
{ {
name: "Channel", name: "Channel",
value: `${invite.channel.name}\n\`${invite.channel.id}\` <#${invite.channel.id}>` value: `${invite.channel.name} <#${invite.channel.id}>`
}, },
{ {
name: "Inviter", name: "Inviter",
value: `${invite.inviter}\n\`${invite.inviter.id}\`` value: `${invite.inviter}`
} }
] ]
}] }]
@ -151,7 +151,7 @@ client.on('guildMemberAdd', async (member) => { // We're just gonna always send
fields: [ fields: [
{ {
name: "New Member", name: "New Member",
value: `${member} (${member.user.displayName})\n\`${member.id}\`\nJoined at: <t:${Math.floor(new Date(member.joinedAt) / 1000)}>\nAccount Created: <t:${Math.floor(new Date(member.user.createdTimestamp) / 1000)}>` value: `${member} (${member.user.displayName})\nJoined at: <t:${Math.floor(new Date(member.joinedAt) / 1000)}>\nAccount Created: <t:${Math.floor(new Date(member.user.createdTimestamp) / 1000)}>`
}, },
{ {
name: "Invite", name: "Invite",
@ -159,7 +159,7 @@ client.on('guildMemberAdd', async (member) => { // We're just gonna always send
}, },
{ {
name: "Guild", name: "Guild",
value: `${guild.name}\n\`${guild.id}\`` value: `${guild.name}`
} }
] ]
}] }]
@ -178,7 +178,7 @@ client.on('guildMemberAdd', async (member) => { // We're just gonna always send
fields: [ fields: [
{ {
name: "New Member", name: "New Member",
value: `${member} (${member.user.displayName})\n\`${member.id}\`\nJoined at: <t:${Math.floor(new Date(member.joinedAt) / 1000)}>\nAccount Created: <t:${Math.floor(new Date(member.user.createdTimestamp) / 1000)}>` value: `${member} (${member.user.displayName})\nJoined at: <t:${Math.floor(new Date(member.joinedAt) / 1000)}>\nAccount Created: <t:${Math.floor(new Date(member.user.createdTimestamp) / 1000)}>`
}, },
{ {
name: "Invite", name: "Invite",
@ -186,7 +186,7 @@ client.on('guildMemberAdd', async (member) => { // We're just gonna always send
}, },
{ {
name: "Guild", name: "Guild",
value: `${guild.name}\n\`${guild.id}\`` value: `${guild.name}`
} }
] ]
}] }]