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

[BUG] Subserver Gateway doesn't show live data #91

Open
johnzoki opened this issue Jan 4, 2023 · 1 comment
Open

[BUG] Subserver Gateway doesn't show live data #91

johnzoki opened this issue Jan 4, 2023 · 1 comment
Labels
bug Something isn't working reproduced Bug is reproduced by the assigned developer

Comments

@johnzoki
Copy link
Collaborator

johnzoki commented Jan 4, 2023

Subserver Subway doesn't show live data
The number of members in voice channels of a Subserver, the number of members selected a Subserver as main-server and the number of members who joined a Subserver doesn't update in the dedicated Subserver Subway.

To Reproduce
Steps to reproduce the behavior:

  1. Join a channel of any Subserver
  2. See if the Subway changed the first value in its tuple

Expected behavior
The values in the Subserver Subway should show the number of all members currently in any voice channel in the dedicated Subserver, the number of members who selected this Subserver as their current main server and the number of every member who joined this Subserver

Bot Version:
1.4.0

@johnzoki johnzoki added the bug Something isn't working label Jan 4, 2023
@PantomInach PantomInach added the reproduced Bug is reproduced by the assigned developer label Jan 4, 2023
@PantomInach
Copy link
Owner

This bug is due to the rate limit of the API calls the bot is allowed to do. It seems that when trying to update the Subchannel information every time the voice state of a user changes is too much.
The critical function seems to be cogs.commandsubserver.update_subserver_info() in file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reproduced Bug is reproduced by the assigned developer
Projects
None yet
Development

No branches or pull requests

2 participants