diff options
| author | 2020-02-24 13:11:56 -0800 | |
|---|---|---|
| committer | 2020-03-22 15:54:35 -0700 | |
| commit | db482932088a3d648079cf1b04e0dc89f2602105 (patch) | |
| tree | af1e0d14c40a93a91e80fca73147ff1e17d1bd33 /tests/base.py | |
| parent | HelpChannels: 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/base.py')
0 files changed, 0 insertions, 0 deletions