]> git.cworth.org Git - turbot/commit
Farm blocks-creation code out to various supporting files
authorCarl Worth <cworth@cworth.org>
Tue, 5 Jan 2021 02:41:07 +0000 (18:41 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 5 Jan 2021 02:41:07 +0000 (18:41 -0800)
commit0076b5c890b0a6cfb61dac56f94e71566c669bc2
tree67cf8be5029313a7177b0439ce6338f0ce155e58
parent731e18499429313acaaf15cacc758f5c6bd7e8e1
Farm blocks-creation code out to various supporting files

The code will be easier to manage with separate hunt, round, puzzle,
and channel.py files each responsible for maintaining their own
functionality. We don't yet have any classes in any of these files,
(just functions that look things up in the database and that generate
Slack blocks), but we may end up doing classes later, (particularly if
we start wanting methods to update a single attribute in the database
for a given item, etc.).
turbot/channel.py [new file with mode: 0644]
turbot/events.py
turbot/hunt.py
turbot/puzzle.py
turbot/round.py [new file with mode: 0644]