百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
V

Victoria

> 开发工具
开源

- 用于 Discord.NET 的 Lavalink 包装器。提供了更多选项,并且性能优于所有 .NET Lavalink 库的总和。

196 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

- 用于 Discord.NET 的 Lavalink 包装器。提供了更多选项,并且性能优于所有 .NET Lavalink 库的总和。

  • Lavalink wrapper for Discord.NET which provides more options and performs better than all .NET Lavalink libraries combined.

Changelog v7.0

Victoria 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 exceptions
  • Introduced ISRC, SourceName, PluginInfo, Artwork properties in LavaTrack
  • Added LavaNodeExtensions, LavaPlayerExtensions for non-API methods.
  • Added GetLavalinkVersionAsync, GetLavalinkStatsAsync, UpdatePlayerAsync, UpdateSessionAsync, DestroyPlayerAsync methods to LavaNode.

❌ Removals:

  • ArtworkResolver, LyricsResolver have been moved to Victoria.Addons, this will be a separate package.
  • Removed 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 Start

Full example code @ https://github.com/Yucked/Victoria/tree/examples/v7

Program.cs

cs
            var serviceCollection = new ServiceCollection()
                // .. other services
                .AddLogging(x => {
                    x.ClearProviders();
                    x.AddColorfulConsole();
                    x.SetMinimumLevel(LogLevel.Trace);
                })
                .AddLavaNode()                
                .AddSingleton();

Discord Service / Events Handler

cs
        private async Task OnReadyAsync() {
            // connect to lavalink
            await _serviceProvider.UseLavaNodeAsync();
        }

AudioModule.cs

…

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#discorddiscord-music-botdiscord-netlavalink

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具