diff options
| author | 2021-01-23 17:22:32 +0800 | |
|---|---|---|
| committer | 2021-01-23 17:51:43 +0800 | |
| commit | a7c6d574c91dd5dfb256303d378f1ab1a8fcb737 (patch) | |
| tree | a422fe3268391f8451061f47d0385783b22bd14a | |
| parent | Extract `is_staff_channel` to a utility function. (diff) | |
Use helper function to determine mod channel.
| -rw-r--r-- | bot/exts/info/information.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py index c20dfc6f0..e475d0b75 100644 --- a/bot/exts/info/information.py +++ b/bot/exts/info/information.py @@ -187,7 +187,7 @@ class Information(Cog): embed.add_field(name=f"Channels: {total_channels}", value=channel_info) # Additional info if ran in moderation channels - if ctx.channel.id in constants.MODERATION_CHANNELS: + if is_mod_channel(ctx.channel): embed.add_field( name="Moderation:", value=self.get_extended_server_info(ctx.guild) ) |