Skip to content

v5.0.0 - Discord.Net v3.0.0

Compare
Choose a tag to compare
@Hawxy Hawxy released this 19 Dec 13:42
· 9 commits to master since this release
249493c

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 an InteractionService much in the same way that UseCommandService 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.