fix: take out of else, should run regardless
This commit is contained in:
parent
7ed20108fb
commit
cfb5d95be4
1 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue