Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Commit

Permalink
botstats command no longer counts bots
Browse files Browse the repository at this point in the history
  • Loading branch information
jgayfer committed Sep 8, 2017
1 parent df48ed8 commit 87bc97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/owner.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def botstats(self, ctx):
users = []
for guild in self.bot.guilds:
if guild.id not in (264445053596991498, 110373943822540800, 349975342884061187):
guild_users = [user for user in guild.members if user.id != self.bot.user.id]
guild_users = [user for user in guild.members if not user.bot]
users.extend(guild_users)
num_users = len(set(users))

Expand Down

0 comments on commit 87bc97f

Please sign in to comment.