X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=turbot%2Finteraction.py;h=5f8af0267ca07e6ac103132748c7682682d88188;hb=6af86db03f09d859c8cd6aca044b11c31d5c4adc;hp=ab35a395bbdc6fe1020b3d84611865a6bf6db69b;hpb=3f2f348f32da5904e8c610c04f8e0f687e46ba56;p=turbot diff --git a/turbot/interaction.py b/turbot/interaction.py index ab35a39..5f8af02 100644 --- a/turbot/interaction.py +++ b/turbot/interaction.py @@ -444,6 +444,9 @@ def solved(turb, body, args): # And update the puzzle's description set_channel_topic(turb, puzzle) + # And rename the sheet to prefix with SOLVED - + turb.sheets.renameSheet(turb, puzzle['sheet_url'], 'SOLVED - ' + puzzle['name']) + return lambda_ok commands["/solved"] = solved