Guest User

check_if_allowed

a guest
Jan 11th, 2021
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. on_recieve(message):
  2.     if check_if_allowed(message):
  3.         do_something_with_legal_message()
  4.     else:
  5.         do_something_with_illegal_message()
Advertisement
Add Comment
Please, Sign In to add comment