Revert "fix: take out of else, should run regardless"

This reverts commit cfb5d95be4.
This commit is contained in:
esy 2024-09-16 19:46:12 +01:00
parent cfb5d95be4
commit 986d2f19c9
No known key found for this signature in database

View file

@ -49,8 +49,7 @@ impl EventHandler for Handler {
if let Err(e) = new_member.add_roles(&ctx, &roles).await {
println!("{:?}", e);
}
}
if let Some(name) = new_member.guild_id.name(&ctx) {
} else if let Some(name) = new_member.guild_id.name(&ctx) {
let msg = format!(
"Welcome to the {} server! \n\
Sign up on ulwolves and go to #bot_commands and do /link_wolves to get full access",