1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Fixed typo

This commit is contained in:
phxntxm 2017-03-08 13:37:46 -06:00
parent 17c853caae
commit 81b0500733

View file

@ -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)