diff options
| author | 2020-11-06 13:28:04 -0600 | |
|---|---|---|
| committer | 2020-11-06 13:28:04 -0600 | |
| commit | ec019d5d012f178acc2d9de756f694d534d71e1f (patch) | |
| tree | 50d4b3a4996bbcb070c048f6fa7dc9c5589f1fac /config-default.yml | |
| 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 'config-default.yml')
| -rw-r--r-- | config-default.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-default.yml b/config-default.yml index 7de9faeda..c2a4e71ad 100644 --- a/config-default.yml +++ b/config-default.yml @@ -522,7 +522,7 @@ voice_gate: minimum_messages: 50 # How many messages a user must have to be eligible for voice bot_message_delete_delay: 10 # Seconds before deleting bot's response in Voice Gate minimum_activity_blocks: 3 # Number of 10 minute blocks during which a user must have been active - voice_ping_delete_delay: 60 # Seconds before deleting the bot's ping to user in Voice Gate + voice_ping_delete_delay: 60 # Seconds before deleting the bot's ping to user in Voice Gate config: required_keys: ['bot.token'] |