From: Carl Worth Date: Fri, 23 Oct 2020 13:49:02 +0000 (-0700) Subject: Use a clean name for the hunt's sheet as well X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=2eed8166870112aeea0a666b0367a84ce1f36fa9;p=turbot Use a clean name for the hunt's sheet as well Just as we did for the puzzle's sheet in the previous commit. --- diff --git a/turbot/events.py b/turbot/events.py index feb0514..8d70a21 100644 --- a/turbot/events.py +++ b/turbot/events.py @@ -148,8 +148,8 @@ def hunt_channel_created(turb, channel_name, channel_id): "Welcome to the channel for the {} hunt! ".format(item['name']) + "Please wait a minute or two while I create some backend resources.") - # Create a sheet for the channel - sheet = turbot.sheets.sheets_create(turb, channel_name) + # Create a sheet for the hunt + sheet = turbot.sheets.sheets_create(turb, item['name']) # Update the database with the URL of the sheet item['sheet_url'] = sheet['url']