aboutsummaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-24 13:11:56 -0800
committerGravatar MarkKoz <[email protected]>2020-03-22 15:54:35 -0700
commitdb482932088a3d648079cf1b04e0dc89f2602105 (patch)
treeaf1e0d14c40a93a91e80fca73147ff1e17d1bd33 /tests/__init__.py
parentHelpChannels: only yield text channels from a category (diff)
HelpChannels: implement create_channel_queue
It returns a queue of dormant channels in random order. The queue will be used to get the next available channel. Using a random order is simpler than trying to sort by the timestamp of the most recent message in each channel and this decision will only "negatively" impact the system when the bot restarts or the extension is reloaded. Ultimately, it just means in such events some dormant channels may chosen to become active again sooner than expected.
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions