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 {
|
||||
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",
|
||||
|
|
Loading…
Reference in a new issue