diff options
author | 2020-08-10 14:18:42 -0700 | |
---|---|---|
committer | 2020-08-10 14:19:01 -0700 | |
commit | 141e82af3b5506135a60de8608ec96cc11739097 (patch) | |
tree | 611c16e1398d35bf7f87ac5edab4ca60348b89ae | |
parent | Linted. (diff) |
ALL_ALLOWED_CHANNELS now is a list of channel IDs instead of None.
-rw-r--r-- | bot/exts/evergreen/conversationstarters.py | 2 |
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): |