-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inactive player timeout & timer touch ups. (#2366)
* Add inactivity option based on player state, in addition to VC activity. * Naming consistency. * Fix auto join channels check. * clean up VC and guild references. Prevent redundant resets. * Add shorthand english time format support to time-related config options. Tiny scope creep for this branch... * missing import re * I should remove test prints before commits. * revert scope creep * Remove guild name from activity message. * Black & Flake8 * Make sure these timers don't block further execution. * Make some logs info level and remove log from finally to make it less chatty. * Update status message on disconnect. * Make sure to clear both active timers on disconnect. * Simplify update_now_playing_status. * check for paused players over just active players. * black * black * Prevent starting an already active VC timer. * Clarify and document options. * black * Revert to LeaveAfterSong to remain compatible with existing config.
- Loading branch information
Showing
4 changed files
with
214 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.