Add the inactive_channel check to Player. The check dispatches the currently available wavelink_inactive_player event via Discord.py when a channel is deemed inactive.
An inactive channel is one where no real(non-bot) members are in the channel for a specified amount of played tracks. This differs from the current inactive_timeout which is a time based check on how long the player has not been playing, though they both work together.
Checklist
[x] If code changes were made then they have been tested.
[x] I have updated the documentation to reflect the changes.
[ ] I have updated the changelog with a quick recap of my changes.
[ ] This PR fixes an issue.
[x] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)
Description
Add the
inactive_channel
check toPlayer
. The check dispatches the currently availablewavelink_inactive_player
event via Discord.py when a channel is deemed inactive.An inactive channel is one where no real(non-bot) members are in the channel for a specified amount of played tracks. This differs from the current
inactive_timeout
which is a time based check on how long the player has not been playing, though they both work together.Checklist