From f39b04b9682bfc68d8f9e71576f144b4b7b0d79a Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 12 Jan 2022 02:01:40 -0800 Subject: [PATCH] Set hunt channel topic when initially creating the hunt And not just when editing the hunt after the fact. --- turbot/interaction.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/turbot/interaction.py b/turbot/interaction.py index 25307c2..5889c74 100644 --- a/turbot/interaction.py +++ b/turbot/interaction.py @@ -708,6 +708,9 @@ def new_hunt_submission(turb, payload, metadata): item['url'] = url turb.table.put_item(Item=item) + # Update channel topic and description + hunt_update_topic(turb, item) + # Invite the initiating user to the channel turb.slack_client.conversations_invite(channel=channel_id, users=user_id) -- 2.43.0