chore: remove old method, fix fmt of r# str

This commit is contained in:
esy 2024-09-18 07:15:25 +01:00
parent 0ab290a876
commit 5e17a98bff
No known key found for this signature in database

View file

@ -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);