diff options
| author | 2020-11-06 13:28:04 -0600 | |
|---|---|---|
| committer | 2020-11-06 13:28:04 -0600 | |
| commit | ec019d5d012f178acc2d9de756f694d534d71e1f (patch) | |
| tree | 50d4b3a4996bbcb070c048f6fa7dc9c5589f1fac /tests/test_helpers.py | |
| parent | Merge 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