diff options
author | 2021-11-14 03:30:10 +0000 | |
---|---|---|
committer | 2021-11-14 03:30:10 +0000 | |
commit | b1f73f4c1a67f061ee2c1cd74980fcd725ae9f1e (patch) | |
tree | 7d9cdc3736045d8867d1e24bf1dd6a76b1933414 | |
parent | Change log level from `WARNING` to `DEBUG`. (#1950) (diff) |
Add #bot-commands to guild features in !server
This prevents spam in dev-contrib and dev-core from people trying to
find which Discord feature flags are enabled for Python Discord. It's
not ideal that we have to increase output size in #bot-commands but it
prevents spam in #dev-contrib.
-rw-r--r-- | bot/exts/info/information.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py index 7f4811a43..dab2dbb6c 100644 --- a/bot/exts/info/information.py +++ b/bot/exts/info/information.py @@ -178,7 +178,10 @@ class Information(Cog): # Server Features are only useful in certain channels if ctx.channel.id in ( - *constants.MODERATION_CHANNELS, constants.Channels.dev_core, constants.Channels.dev_contrib + *constants.MODERATION_CHANNELS, + constants.Channels.dev_core, + constants.Channels.dev_contrib, + constants.Channels.bot_commands ): features = f"\nFeatures: {', '.join(ctx.guild.features)}" else: |