# Add any new rounds to the database
if new_rounds:
for round in new_rounds.split(','):
- rounds += round
+ rounds.append(round)
turb.table.put_item(
Item={
'hunt_id': hunt_id,
if state:
description += " {}".format(state)
+ # Slack only allows 250 characters for a topic
+ if len(description) > 250:
+ description = description[:247] + "..."
+
turb.slack_client.conversations_setTopic(channel=channel_id,
topic=description)