Allows a Node to be passed to both Playable.search and Pool.fetch_tracks to search for the given query. If None is passed (Default) both of these methods act as they previously did.
This also adds:
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
Allows a
Node
to be passed to bothPlayable.search
andPool.fetch_tracks
to search for the given query. IfNone
is passed (Default) both of these methods act as they previously did.This also adds:
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