Specifically, using a prefix of "SOLVED: " when a puzzle is solved.
description = ''
if status == 'solved':
description = ''
if status == 'solved':
- description += "Solved: `{}` ".format('`, `'.join(puzzle['solution']))
+ description += "SOLVED: `{}` ".format('`, `'.join(puzzle['solution']))
# And update the puzzle's description
set_channel_topic(turb, puzzle)
# And update the puzzle's description
set_channel_topic(turb, puzzle)
- # And rename the sheet to prefix with SOLVED -
- turbot.sheets.renameSheet(turb, puzzle['sheet_url'], 'SOLVED - ' + puzzle['name'])
+ # And rename the sheet to prefix with "SOLVED: "
+ turbot.sheets.renameSheet(turb, puzzle['sheet_url'], 'SOLVED: ' + puzzle['name'])
# Finally, rename the Slack channel to add the suffix '-solved'
rename_channel_to_solved(turb, puzzle)
# Finally, rename the Slack channel to add the suffix '-solved'
rename_channel_to_solved(turb, puzzle)