aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2020-09-09 20:01:08 -0700
committerGravatar GitHub <[email protected]>2020-09-09 20:01:08 -0700
commit2844b11032e0a330bfeaf43f08c607c2f26ffc58 (patch)
tree601a0b605d3cb392743603d45f99934d038997ec
parentAdded RandomCycle utility to jump between set indexes repeatedly. (diff)
Update bot/exts/evergreen/conversationstarters.py
Co-authored-by: Shirayuki Nekomata <[email protected]>
-rw-r--r--bot/exts/evergreen/conversationstarters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/conversationstarters.py b/bot/exts/evergreen/conversationstarters.py
index ebefc53e..16a7dcfc 100644
--- a/bot/exts/evergreen/conversationstarters.py
+++ b/bot/exts/evergreen/conversationstarters.py
@@ -24,7 +24,7 @@ with Path("bot/resources/evergreen/py_topics.yaml").open("r", encoding="utf8") a
ALL_ALLOWED_CHANNELS = [channel_id for channel_id in PY_TOPICS.keys()] + list(WHITELISTED_CHANNELS)
# Putting all topics into one dictionary and shuffling lists to reduce same-topic repetitions.
-all_topics = {'default': STARTERS, **PY_TOPICS}
+ALL_TOPICS = {'default': STARTERS, **PY_TOPICS}
TOPICS = {channel: RandomCycle(topics) if len(topics) else False for channel, topics in all_topics.items()}