diff --git a/commands/stats.py b/commands/stats.py index 044364f..41dfcc2 100644 --- a/commands/stats.py +++ b/commands/stats.py @@ -14,12 +14,10 @@ class Stats(commands.Cog): guilds = ctx.bot.guilds total_guilds = len(guilds) total_channels = sum( - len( - [ - ch - for ch in guild.channels - if not isinstance(ch, discord.CategoryChannel) - ] + sum( + 1 + for ch in guild.channels + if not isinstance(ch, discord.CategoryChannel) ) for guild in guilds )