PythonistaGuild / Wavelink

A powerful Lavalink library for Discord.py.
https://wavelink.dev
MIT License
396 stars 183 forks source link

on_wavelink_inactive_player() how it works? #276

Closed llimonix closed 10 months ago

llimonix commented 10 months ago

does it work when the player is paused?

If so, it turns out that the bot will not react to the inactive.

Then you should add another check. If there are 0 people in the voice channel where the bot is located for N time. on_wavelink_inactive is triggered...

EvieePy commented 10 months ago

It clearly says in the documentation it does not trigger when a player has been paused while playing a track.

EvieePy commented 10 months ago

As for the 0 members in channel checks it would be very annoying to implement ourselves as we would need to hook into discord.py listeners and since wavelink supports both client and bot this isn't as easy as if it just supported bot.