Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- message = event_data["event"]
- if message.get("subtype") is None :
- if "friday" in message.get('text'):
- callfridayfunction()
- if "saturday" in message.get('text'):
- callsaturdayfunction()
- if "monday" in message.get('text'):
- callmondayfunction()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement