From 5e17a98bff0d15dc34ae36af4817e585b14cd5fb Mon Sep 17 00:00:00 2001 From: Daragh Downes Date: Wed, 18 Sep 2024 07:15:25 +0100 Subject: [PATCH] chore: remove old method, fix fmt of r# str --- src/main.rs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/main.rs b/src/main.rs index e53ea04..f1c70f3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,8 +52,8 @@ impl EventHandler for Handler { } else { let msg = format!( r#" - Welcome {} to the {} server! - Sign up on [UL Wolves]({}) and go to https://discord.com/channels/{}/{} and use ``/link_wolves`` to get full access. +Welcome {} to the {} server! +Sign up on [UL Wolves]({}) and go to https://discord.com/channels/{}/{} and use ``/link_wolves`` to get full access. "#, new_member.display_name(), &config.server_name, @@ -61,15 +61,6 @@ impl EventHandler for Handler { &config.server, &config.bot_channel_id ); - // let msg = format!( - // "Welcome {} to the {} server! \n\ - // Sign up on [UL Wolves]({}) and go to https://discord.com/channels/{}/{} and use ``/link_wolves`` to get full access.", - // new_member.display_name(), - // &config.server_name, - // &config.wolves_link, - // &config.server, - // &config.bot_channel_id - // ); if let Err(err) = new_member.user.direct_message(&ctx, |m| m.content(&msg)).await { dbg!(err);