]> git.cworth.org Git - turbot/commit
Restrict a Slack channel topic to 250 characters
authorCarl Worth <cworth@cworth.org>
Fri, 1 Jan 2021 19:06:26 +0000 (11:06 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 1 Jan 2021 19:12:39 +0000 (11:12 -0800)
commit7a94f1f8a21207d8badc40bc6798e225c47c2b60
treea94f9af4bbb386ba17215f8df4e41e6a2b934b47
parente1e4adc58009aea38c51e0d038f7544596e4dc05
Restrict a Slack channel topic to 250 characters

And terminate it with an ellipsis if the user-provided state string is
too long. (It's a bit annoying that Slack returns an error rather than
just doing this same thing itself, but whatever.)

This satisfies a TODO item since users had encountered this error
during our last hunt.
TODO
turbot/interaction.py