]> git.cworth.org Git - turbot/commit
Create a new Slack channel when creating a hunt
authorCarl Worth <cworth@cworth.org>
Sat, 17 Oct 2020 00:43:31 +0000 (17:43 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 17 Oct 2020 01:00:47 +0000 (18:00 -0700)
commitf12de83563ec010b97c8fe2cefe4b529f57348db
treea2b7f9fa17e92e5e2e14751af979f04ea23ddf37
parentd29699ecca69f7d203179a18569722d05798cf58
Create a new Slack channel when creating a hunt

Using the slug of the hunt for the channel name.

Some thoughts on improving this:

  * Should we modify the slug in some way to distinguish this as a
    hunt channel?

  * We should definitely do validation of the legality of the slug for
    a channel name.

  * We should invite the triggering user to the channel

  * We should put the hunt URL into the topic or description

  * Do we want to create a sheet for hunt channels or only for puzzle
    channels?
turbot/actions.py