Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ class _Categories(EnvConfig, env_prefix="categories_"):
logs: int = 468520609152892958
moderators: int = 749736277464842262
modmail: int = 714494672835444826
new_modmail: int = 1533613940318146702
appeals: int = 890331800025563216
appeals_2: int = 895417395261341766
voice: int = 356013253765234688
Expand All @@ -201,6 +202,7 @@ class _Guild(EnvConfig, env_prefix="guild_"):
moderation_categories: tuple[int, ...] = (
Categories.moderators,
Categories.modmail,
Categories.new_modmail,
Categories.logs,
Categories.appeals,
Categories.appeals_2
Expand Down
5 changes: 4 additions & 1 deletion bot/exts/info/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ async def on_message(self, message: Message) -> None:
if message.guild.id != Guild.id:
return

if is_in_category(message.channel, Categories.modmail):
if (
is_in_category(message.channel, Categories.modmail)
or is_in_category(message.channel, Categories.new_modmail)
):
if message.channel.id != Channels.incidents:
# Do not report modmail channels to stats, there are too many
# of them for interesting statistics to be drawn out of this.
Expand Down
Loading