v5.0.0 - Discord.Net v3.0.0
It's finally here!
Breaking Changes:
- Support for Discord.Net v3.0.0
- Only targets .NET 6, support for all prior targets has been dropped.
InitializedService
has been removed. See the v4 release notes for the relevant upgrade path.
New Features
- Added
UseInteractionService
HostBuilder extension that'll wire up anInteractionService
much in the same way thatUseCommandService
currently does.
.UseInteractionService((context, config) =>
{
config.LogLevel = LogSeverity.Info;
config.UseCompiledLambda = true;
})
- Support setting
ShardIds
within the sharded client configuration:
config.ShardIds = new[] { 1 };
See the v5.0.0 samples for further information.