Yucked / Victoria

🌋 - Lavalink wrapper for Discord.NET. Provides more options and performs better than all .NET Lavalink libraries combined.
https://github.com/Yucked/Victoria/wiki
193 stars 48 forks source link

[ BUG ] LavaNode.SearchAsync() shouldn't select videos that are age restricted. #120

Closed MafinBoy closed 2 years ago

MafinBoy commented 2 years ago


Describe the bug/issue.

LavaNode.SearchAsync() shouldn't select songs that are age restricted, because this results in a OnTrackException when the track gets played. Either this or add a isPlayable flag to LavaTrack so we can handle this before the track gets queued.

Stacktrace / Screenshots

image image

Yucked commented 2 years ago

Belongs there https://github.com/freyacodes/Lavalink