Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V3 General] Fix online user count in [p]serverinfo #1844

Merged
merged 2 commits into from Jun 10, 2018

Conversation

Twentysix26
Copy link
Member

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

This was not updated when Discord's statuses got overhauled.

@Twentysix26 Twentysix26 changed the title [General] Fix online user count in [p]serverinfo [V3 General] Fix online user count in [p]serverinfo Jun 10, 2018
Tobotimus
Tobotimus previously approved these changes Jun 10, 2018
@@ -195,7 +195,7 @@ def __init__(self):
[
m.status
for m in guild.members
if m.status == discord.Status.online or m.status == discord.Status.idle
if m.status != discord.Status.offline
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the formatter will be happy if you put the list comprehension all on one line

@Tobotimus Tobotimus added the V3 label Jun 10, 2018
@Tobotimus Tobotimus merged commit 1ad1744 into V3/develop Jun 10, 2018
@Tobotimus Tobotimus deleted the v3-serverinfo-fix branch June 10, 2018 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants