- Lavalink wrapper for Discord.NET. Provides more options and performs better than all .NET Lavalink libraries combined.
- Lavalink wrapper for Discord.NET. Provides more options and performs better than all .NET Lavalink libraries combined.
Changelog v7.0Victoria 7.x rewrites focuses on Lavalink v4 support. Lavalink v4 introduces several changes which break Victoria's functionality on v6.x, to avoid codebase overhaul on user's end, breaking changes are minimal on Victoria' end.
➕ Additions:ExceptionSeverity for Lavalink exceptionsISRC, SourceName, PluginInfo, Artwork properties in LavaTrackLavaNodeExtensions, LavaPlayerExtensions for non-API methods.GetLavalinkVersionAsync, GetLavalinkStatsAsync, UpdatePlayerAsync, UpdateSessionAsync, DestroyPlayerAsync methods to LavaNode.❌ Removals:ArtworkResolver, LyricsResolver have been moved to Victoria.Addons, this will be a separate package.Bands, TextChannel, VoiceChannel, IsConnected properties from LavaPlayer. Modifications:Vueue is renamed to LavaQueue, this change my be reverted.LavaPlayer no longer contains any methods for controlling the player.RoutePlanner has been merged with LavaNode.Quick StartFull example code @ https://github.com/Yucked/Victoria/tree/examples/v7
Program.cs
var serviceCollection = new ServiceCollection()
// .. other services
.AddLogging(x => {
x.ClearProviders();
x.AddColorfulConsole();
x.SetMinimumLevel(LogLevel.Trace);
})
.AddLavaNode()
.AddSingleton();Discord Service / Events Handler
private async Task OnReadyAsync() {
// connect to lavalink
await _serviceProvider.UseLavaNodeAsync();
}AudioModule.cs
…No open issues yet, or sync has not completed.