diff options
| author | 2020-11-26 13:57:55 -0800 | |
|---|---|---|
| committer | 2020-11-26 13:58:50 -0800 | |
| commit | 0242b4ed4145edf3e3e6ea6ebcef62aaff77d7ec (patch) | |
| tree | bb6e50c6fd9c253bbf77f2db13e34973532b8dbc | |
| parent | Help channels: merge 2 imports into 1 (diff) | |
Help channels: remove how_to_get_help from excluded channels
The channel as moved out of this category. Delete the constant too
since it isn't used anywhere else. Keep the excluded channels a tuple
to conveniently support excluding multiple channels in the future.
| -rw-r--r-- | bot/constants.py | 1 | ||||
| -rw-r--r-- | bot/exts/help_channels/_channel.py | 2 | ||||
| -rw-r--r-- | config-default.yml | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/bot/constants.py b/bot/constants.py index 6bb6aacd2..fb280b042 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -406,7 +406,6 @@ class Channels(metaclass=YAMLGetter): dm_log: int esoteric: int helpers: int - how_to_get_help: int incidents: int incidents_archive: int mailing_lists: int diff --git a/bot/exts/help_channels/_channel.py b/bot/exts/help_channels/_channel.py index d6d6f1245..e717d7af8 100644 --- a/bot/exts/help_channels/_channel.py +++ b/bot/exts/help_channels/_channel.py @@ -10,7 +10,7 @@ from bot.exts.help_channels import _caches, _message log = logging.getLogger(__name__) MAX_CHANNELS_PER_CATEGORY = 50 -EXCLUDED_CHANNELS = (constants.Channels.how_to_get_help, constants.Channels.cooldown) +EXCLUDED_CHANNELS = (constants.Channels.cooldown,) def get_category_channels(category: discord.CategoryChannel) -> t.Iterable[discord.TextChannel]: diff --git a/config-default.yml b/config-default.yml index 60eb437af..82023aae1 100644 --- a/config-default.yml +++ b/config-default.yml @@ -155,7 +155,6 @@ guild: python_discussion: &PY_DISCUSSION 267624335836053506 # Python Help: Available - how_to_get_help: 704250143020417084 cooldown: 720603994149486673 # Logs |