Skip to content

Commit

Permalink
[Welcome] Don't welcome gbanned users
Browse files Browse the repository at this point in the history
  • Loading branch information
Neppu-Nep committed Apr 11, 2021
1 parent aacd066 commit 3c189f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SaitamaRobot/modules/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ def new_member(update: Update, context: CallbackContext):
if sw_ban:
return

if is_user_gbanned(new_mem.id):
return

if should_welc:

reply = update.message.message_id
Expand Down

0 comments on commit 3c189f9

Please sign in to comment.