aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2020-08-10 14:18:42 -0700
committerGravatar Xithrius <[email protected]>2020-08-10 14:19:01 -0700
commit141e82af3b5506135a60de8608ec96cc11739097 (patch)
tree611c16e1398d35bf7f87ac5edab4ca60348b89ae
parentLinted. (diff)
ALL_ALLOWED_CHANNELS now is a list of channel IDs instead of None.
-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 974a361e..8a07eea2 100644
--- a/bot/exts/evergreen/conversationstarters.py
+++ b/bot/exts/evergreen/conversationstarters.py
@@ -18,7 +18,7 @@ with Path("bot/resources/evergreen/py_topics.json").open("r", encoding="utf8") a
PY_TOPICS = json.load(f)["python-channels"]
# All the allowed channels that the ".topic" command is allowed to be executed in.
- ALL_ALLOWED_CHANNELS = [int(channel_id) for channel_id in PY_TOPICS.keys()].extend(WHITELISTED_CHANNELS)
+ ALL_ALLOWED_CHANNELS = [int(channel_id) for channel_id in PY_TOPICS.keys()] + list(WHITELISTED_CHANNELS)
class ConvoStarters(commands.Cog):