diff --git a/commands/core/help.js b/commands/core/help.js index 365facc..eb8d22d 100644 --- a/commands/core/help.js +++ b/commands/core/help.js @@ -26,7 +26,7 @@ module.exports = { ) .setTimestamp() .setFooter({ - text: `${serverName} || Made with ❤️ by Ayden`, + text: `${serverName} | Made with ❤️ by Ayden`, iconURL: client.user.displayAvatarURL(), }); diff --git a/commands/core/ping.js b/commands/core/ping.js index c338d8a..61ca06d 100644 --- a/commands/core/ping.js +++ b/commands/core/ping.js @@ -26,7 +26,7 @@ module.exports = { ) .setTimestamp() .setFooter({ - text: `${serverName} || Made with ❤️ by Ayden`, + text: `${serverName} | Made with ❤️ by Ayden`, iconURL: client.user.displayAvatarURL(), }); diff --git a/commands/core/uptime.js b/commands/core/uptime.js index 2bba73f..9d08fb0 100644 --- a/commands/core/uptime.js +++ b/commands/core/uptime.js @@ -28,7 +28,7 @@ module.exports = { ) .setTimestamp() .setFooter({ - text: `${serverName} || Made with ❤️ by Ayden`, + text: `${serverName} | Made with ❤️ by Ayden`, iconURL: client.user.displayAvatarURL(), }); diff --git a/commands/verification/code.js b/commands/verification/code.js index dc96df9..339fe70 100644 --- a/commands/verification/code.js +++ b/commands/verification/code.js @@ -47,7 +47,7 @@ module.exports = { } try { - // Find the verification code in the database + // Find the verification code and user email in the database const verificationEntry = await VerificationCode.findOne({ userId: interaction.user.id, code, @@ -104,13 +104,13 @@ module.exports = { // Delete the verification code entry await VerificationCode.deleteOne({ userId: interaction.user.id, code }); - // Get the log channel and send a log message + // Get the log channel and send a log message, including the user's email const adminLogChannel = client.channels.cache.get( serverSettings.logChannelId ); if (adminLogChannel) { await adminLogChannel.send({ - content: `🎉 **Verification Success**\nUser: <@${interaction.user.id}> (${interaction.user.tag})\nRole: ${role.name}`, + content: `🎉 **Verification Success**\nUser: <@${interaction.user.id}> (${interaction.user.tag})\nEmail: ${verificationEntry.email}\nRole: ${role.name}`, }); } else { console.error("Admin log channel not found.");