]> git.cworth.org Git - turbot/commit
Don't set a channel description longer than 250 character.
authorCarl Worth <cworth@cworth.org>
Sat, 8 Jan 2022 09:20:02 +0000 (01:20 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 8 Jan 2022 09:23:46 +0000 (01:23 -0800)
commit5f24de7e9cdb24f5bf751e3ce1d6d7333241747f
tree3470e0f465666c1e666b183af5b3bef2508c5366
parent8e9a333cdc4118878bdf6ece9ee7456644fd1342
Don't set a channel description longer than 250 character.

Oops. The Slack channel description _is_ just as limited as the
channel topic, (only 250 characters). So we have to trim it just like
we trim the channel topic.

At least the description has the title first, so different information
will appear in the topic and description and hopefully everything
necessary at least appears in one place or the other.
turbot/puzzle.py