summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d1b27a6)
After determining the actual problem.
my_hunt_blocks = []
available_hunt_blocks = []
for hunt in hunts:
my_hunt_blocks = []
available_hunt_blocks = []
for hunt in hunts:
- print("Generating turbot home view for hunt '" + hunt['hunt_id'] + "'")
- print("Never mind, that hunt is not active.")
- print("Hunt '" + hunt['hunt_id'] + "' is active, moving forward.")
if user_id in slack_channel_members(turb.slack_client,
hunt['channel_id']):
my_hunt_blocks.append(hunt_link_block(turb, hunt))
if user_id in slack_channel_members(turb.slack_client,
hunt['channel_id']):
my_hunt_blocks.append(hunt_link_block(turb, hunt))
def new_hunt_button(turb, payload):
"""Handler for the action of user pressing the new_hunt button"""
def new_hunt_button(turb, payload):
"""Handler for the action of user pressing the new_hunt button"""
- print("In new_hunt_button with payload of: " + str(payload))
trigger_id = payload['trigger_id']
return new_hunt(turb, trigger_id)
trigger_id = payload['trigger_id']
return new_hunt(turb, trigger_id)