fix: take out of else, should run regardless

This commit is contained in:
esy 2024-09-16 19:15:45 +01:00
parent 7ed20108fb
commit cfb5d95be4
No known key found for this signature in database

View file

@ -49,7 +49,8 @@ impl EventHandler for Handler {
if let Err(e) = new_member.add_roles(&ctx, &roles).await {
println!("{:?}", e);
}
} else if let Some(name) = new_member.guild_id.name(&ctx) {
}
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",