Skip to content

Commit

Permalink
Fix 'bot' not defined in del blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
starry-shivam authored Apr 27, 2020
1 parent 2b84eb2 commit 85f0d6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emilia/modules/blacklist.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ def del_blacklist(update, context):
chat = update.effective_chat # type: Optional[Chat]
message = update.effective_message # type: Optional[Message]
user = update.effective_user
bot = context.bot
to_match = extract_text(message)
if not to_match:
return
Expand Down

0 comments on commit 85f0d6f

Please sign in to comment.