]> git.cworth.org Git - turbot/commitdiff
Fix typo and make hyperlinks in the sheets work
authorjustin melvin <jmelvinprime@gmail.com>
Thu, 26 Nov 2020 05:22:47 +0000 (21:22 -0800)
committerjustin melvin <jmelvinprime@gmail.com>
Thu, 26 Nov 2020 05:22:47 +0000 (21:22 -0800)
turbot/sheets.py
turbot_lambda/turbot_lambda.py

index fbe9e3d7839d2e52a64d43f471a444efa1869fe3..0ed6847f8af2bd6747cbf6b7b4c1ad24199a728c 100644 (file)
@@ -57,7 +57,7 @@ def sheets_create_for_puzzle(turb, puzzle):
         insertDataOption='INSERT_ROWS',
         body={
             'range': 'A1:A2',
-            'values': [[url_text], [channel_url_text]]
+            'values': [['=HYPERLINK('+url_text+')'], ['=HYPERLINK('+channel_url_text+')']]
         }).execute()
 
     # Copy some sheets from the Template spreadsheet
index 7d8ac4d917cbd46dd148296397ce51ac18e7e1e0..b2acf41b520f1c3da723d74e7cb038483d5776a4 100644 (file)
@@ -153,7 +153,7 @@ def turbot_interactive_or_slash_command(turb, event, context):
     """Handler for Slack interactive things (buttons, shortcuts, etc.)
     as well as slash commands.
 
-    This function simply makes a quiuck determination of what we're looking
+    This function simply makes a quick determination of what we're looking
     at and then defers to either turbot_interactive or turbot_slash_command."""
 
     # Both interactives and slash commands have a urlencoded body