You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When someone joins a voice chat with someone else, they are allowed the Yes Theory role. We can use a VoiceState listener to see if someone is eligible and automatically assign the role.
The likeliness of missing someone this way is extremely small (only affects people who joined a vc for the first time on the server less than one minute before a bot restart).
Idea
The plan is to evaluate the information from the newState passed into the VoiceState listener and gather information about other people in the same channel a user joined into. If the following criteria applies:
The user is not muted
At least one other non-muted member is in the same voice channel
At least one minute passes and the user is still in the same voice channel, unmuted with someone else also unmuted, they get the role
Questions to Arch
Is the criteria above sufficient?
What stuff could be done to fool the system?
Thoughts
I am not sure if it is worth the effort but it might make sense to keep a state of currently running timeouts in the bot and halt them on VoiceState changes that would make it invalid. For example someone could join a VC with someone, immediately leave for 59 seconds, join again and leave to get the badge. Whether that is a realistic thing to happen, idk,
The text was updated successfully, but these errors were encountered:
When someone joins a voice chat with someone else, they are allowed the Yes Theory role. We can use a VoiceState listener to see if someone is eligible and automatically assign the role.
The likeliness of missing someone this way is extremely small (only affects people who joined a vc for the first time on the server less than one minute before a bot restart).
Idea
The plan is to evaluate the information from the newState passed into the VoiceState listener and gather information about other people in the same channel a user joined into. If the following criteria applies:
Questions to Arch
Thoughts
The text was updated successfully, but these errors were encountered: