From 81b05007337691471d2a306c2d4db2c9cb388fb1 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 8 Mar 2017 13:37:46 -0600 Subject: [PATCH] Fixed typo --- cogs/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/stats.py b/cogs/stats.py index 525cb76..9a56329 100644 --- a/cogs/stats.py +++ b/cogs/stats.py @@ -38,7 +38,7 @@ class Stats: # Split channels into voice and text channels voice_channels = [c for c in server.channels if c is discord.VoiceChannel] - text_channels = [c for c in server.channels if is discord.TextChannel] + text_channels = [c for c in server.channels if c is discord.TextChannel] embed.add_field(name='Channels', value='{} text, {} voice'.format(len(text_channels), len(voice_channels))) embed.add_field(name='Owner', value=server.owner.display_name)