diff --git a/bot.js b/bot.js index beee15b..4edcb13 100644 --- a/bot.js +++ b/bot.js @@ -96,13 +96,13 @@ client.on("messageCreate", async (message) => { const emailHtml = ` -

Your Verification Code

+

Your Esports Verification Code

Hi there,

-

Thank you for requesting verification. Your verification code is:

+

Thank you for requesting verification. Your Esports verification code is:

${verificationCode}

-

This code is valid for 10 minutes. Please enter it in the Discord channel using the command !code your_code.

+

This code is valid for 10 minutes. Please enter it in the verification Discord channel using the command !code your_code.

If you did not request this code, please ignore this email.

Best regards,
Esports Committee

@@ -111,7 +111,7 @@ client.on("messageCreate", async (message) => { try { await transporter.sendMail({ - from: process.env.EMAIL_USER, + from: `"${process.env.EMAIL_NAME}" <${process.env.EMAIL_USER}>`, to: email, subject: "Esports Verification Code", html: emailHtml, // Use HTML content