]> git.cworth.org Git - turbot/blobdiff - turbot/interaction.py
Set hunt channel topic when initially creating the hunt
[turbot] / turbot / interaction.py
index 25307c22a26aec26084da1b623ebaee2acec069f..5889c74a299bdc0a89d564dc578328fef14de9b1 100644 (file)
@@ -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)