From 2eed8166870112aeea0a666b0367a84ce1f36fa9 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 23 Oct 2020 06:49:02 -0700 Subject: [PATCH] Use a clean name for the hunt's sheet as well Just as we did for the puzzle's sheet in the previous commit. --- turbot/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] -- 2.43.0