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

FrenBot gets innacurate Discord voice channel member count if started with active users #28

Open
kylehovey opened this issue Feb 18, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@kylehovey
Copy link
Collaborator

What

When FrenBot is started and there are active members in the Discord voice channel, the bot thinks the member count is zero. This has the effect of reducing the amount of perceived members in chat. For instance: if two members are in voice, you start FrenBot, then another joins, FrenBot will report one member in the Discord voice channel when it should think there are three.

Notes

This seems to be a bug in Discord's API regarding how it caches the channel members. A fix for this would probably involve finding a more direct way to see the member count metadata whenever a join/leave events happens. Here is where the member count code is located.

@kylehovey kylehovey added bug Something isn't working good first issue Good for newcomers labels Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant