aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/conversationstarters.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2020-09-10 15:54:07 -0700
committerGravatar GitHub <[email protected]>2020-09-10 15:54:07 -0700
commite7f65121440a5fcbc53ad604a7dfbc24f30bab3b (patch)
treee64b7bec87f1f7e0a61962ea9cedc861a2413f24 /bot/exts/evergreen/conversationstarters.py
parentMade all channel names lowercase. (diff)
Update bot/exts/evergreen/conversationstarters.py
Co-authored-by: Dennis Pham <[email protected]>
Diffstat (limited to 'bot/exts/evergreen/conversationstarters.py')
-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 1912d1af..576b8d76 100644
--- a/bot/exts/evergreen/conversationstarters.py
+++ b/bot/exts/evergreen/conversationstarters.py
@@ -21,7 +21,7 @@ with Path("bot/resources/evergreen/py_topics.yaml").open("r", encoding="utf8") a
PY_TOPICS = {k: [i for i in v if i] if isinstance(v, list) else [] for k, v in PY_TOPICS.items()}
# All the allowed channels that the ".topic" command is allowed to be executed in.
- ALL_ALLOWED_CHANNELS = [channel_id for channel_id in PY_TOPICS.keys()] + list(WHITELISTED_CHANNELS)
+ ALL_ALLOWED_CHANNELS = list(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}