Revert "fix: take out of else, should run regardless"
This reverts commit cfb5d95be4
.
This commit is contained in:
parent
cfb5d95be4
commit
986d2f19c9
1 changed files with 1 additions and 2 deletions
|
@ -49,8 +49,7 @@ impl EventHandler for Handler {
|
||||||
if let Err(e) = new_member.add_roles(&ctx, &roles).await {
|
if let Err(e) = new_member.add_roles(&ctx, &roles).await {
|
||||||
println!("{:?}", e);
|
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!(
|
let msg = format!(
|
||||||
"Welcome to the {} server! \n\
|
"Welcome to the {} server! \n\
|
||||||
Sign up on ulwolves and go to #bot_commands and do /link_wolves to get full access",
|
Sign up on ulwolves and go to #bot_commands and do /link_wolves to get full access",
|
||||||
|
|
Loading…
Reference in a new issue