chore: remove old method, fix fmt of r# str
All checks were successful
On_Push / lint_fmt (push) Successful in 7s
On_Push / lint_clippy (push) Successful in 12s
On_Push / build (push) Successful in 1m49s
On_Push / deploy (push) Successful in 16s

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