PythonistaGuild / Wavelink

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

on_wavelink_inactive_player() how it works? #276

Closed llimonix closed 8 months ago

llimonix commented 8 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 8 months ago

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

EvieePy commented 8 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.