]> git.cworth.org Git - turbot/blob - turbot/actions.py
Add a dispatch table for actions as well
[turbot] / turbot / actions.py
1 def new_hunt(payload):
2
3     print("In new_hunt function")
4
5     return {
6         'statusCode': 200,
7         'body': 'OK'
8     }
9
10 actions = {
11     "button": {
12         "new_hunt": new_hunt
13     }
14 }