diff --git a/src/commands/link_email.rs b/src/commands/link_email.rs index 8201923..86e8c8e 100644 --- a/src/commands/link_email.rs +++ b/src/commands/link_email.rs @@ -139,7 +139,7 @@ pub mod link { fn send_mail(config: &Config, email: &Wolves, auth: &str, user: &str) -> Result { let mail = &email.email; - let discord = "https://discord.skynet.ie"; + let discord = "https://computer.discord.skynet.ie"; let sender = format!("UL Computer Society <{}>", &config.mail_user); // Create the html we want to send. @@ -152,13 +152,19 @@ pub mod link { } div { h2 { "Hello from Skynet!" } + + h3 { "Link your Account" } // Substitute in the name of our recipient. p { "Hi " (user) "," } p { - "Please use " pre { "/verify code: " (auth)} " to verify your discord account." + "Please paste this line into Discord (and press enter) to verify your discord account:" + br; + pre { "/verify code: " (auth)} } + hr; + h3 { "Help & Support" } p { - "If you have issues please refer to our Discord server:" + "If you have issues please refer to our Computer Society Discord Server:" br; a href=(discord) { (discord) } } @@ -172,15 +178,24 @@ pub mod link { let body_text = format!( r#" - Hi {user} + Hello from Skynet! + + Link your Account - Please use "/verify code: {auth}" to verify your discord account. + Hi {user}, + + Please paste this line into Discord (and press enter) to verify your Discord account: + /verify code: {auth} - If you have issues please refer to our Discord server: - {discord} - - Skynet Team - UL Computer Society + ------------------------------------------------------------------------- + + Help & Support + + If you have issues please refer to our Computer Society Discord Server: + {discord} + + Skynet Team + UL Computer Society "# );