aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py
diff options
context:
space:
mode:
authorGravatar Daniel Brown <[email protected]>2020-11-06 13:28:04 -0600
committerGravatar Daniel Brown <[email protected]>2020-11-06 13:28:04 -0600
commitec019d5d012f178acc2d9de756f694d534d71e1f (patch)
tree50d4b3a4996bbcb070c048f6fa7dc9c5589f1fac /tests/test_helpers.py
parentMerge remote-tracking branch 'origin/Hemlock/voice-gate-ping' into Hemlock/vo... (diff)
Requested fixes - Various restructures of code.
- Changed `VOICE_PING` constant to not contain the format brackets. - Added more detailed description of what the `redis_cache` will hold. - Changed message content verification to use the whole newly formatted `VOICE_PING` constant instead of a slice of it. - Added remaining parameters for the `on_voice_state_update` event for clarity. - Reorganized the logic of the `on_voice_state_update` for better clarity and better logging purposes. - Removed `_async_init` in favor of checking if the guild is ready inside the `on_voice_state_update` event. Verification channel is now loaded each time when needed, reducing risk of the object becoming stale or erroring out due to the not being ready before an event was triggered. Signed-off-by: Daniel Brown <[email protected]>
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions