DSharpPlus 5.0.0-nightly-02599
dotnet add package DSharpPlus --version 5.0.0-nightly-02599
NuGet\Install-Package DSharpPlus -Version 5.0.0-nightly-02599
<PackageReference Include="DSharpPlus" Version="5.0.0-nightly-02599" />
<PackageVersion Include="DSharpPlus" Version="5.0.0-nightly-02599" />
<PackageReference Include="DSharpPlus" />
paket add DSharpPlus --version 5.0.0-nightly-02599
#r "nuget: DSharpPlus, 5.0.0-nightly-02599"
#:package DSharpPlus@5.0.0-nightly-02599
#addin nuget:?package=DSharpPlus&version=5.0.0-nightly-02599&prerelease
#tool nuget:?package=DSharpPlus&version=5.0.0-nightly-02599&prerelease

DSharpPlus
An unofficial .NET wrapper for the Discord API, the continuation of DiscordSharp.
Documentation
The documentation for the latest nightly version is available at dsharpplus.github.io. We do not currently host documentation for stable versions, and you should use nightly versions whenever possible.
Versions
- Nightly versions are available on Nuget as a pre-release. These versions contain the latest features, improvements and bugfixes. You should, as a rule, use these versions: despite not being marked as stable, they are held to high standards of quality and merely represent the latest, most up-to-date state of the library.
- Stable releases are available on NuGet. Important bugfixes will be backported to the latest stable release. Stable versions roughly follow romantic versioning: major versions indicate very major changes to both the library surface and internals, minor versions indicate major additions or breaking changes as necessary and in limited scope, and the third version number indicates hotfixes or small features as necessary.
Resources
The following resources apply only for the latest stable version of the library.
Tutorials
Example bots
Extensions
The main DSharpPlus library provides all features of the API except Voice and HTTP interactions. These API features and other utilities are provided via the following additional packages:
| Package | Description |
|---|---|
DSharpPlus.Commands |
An extension that provides a command framework for both messages and application commands. |
DSharpPlus.Interactivity |
An extension that provides utilities for interactive flows with your users.. |
DSharpPlus.VoiceNext |
An extension that enables connecting to Discord voice channels. |
DSharpPlus.Http.AspNetCore |
An extension that provides support for HTTP interactions and webhook events. |
Additionally, the following third party extensions and packages are available and are considered by us to be good enough to recommend in good faith:
| Package | Description |
|---|---|
Lavalink4NET.DSharpPlus |
An extension that provides Lavalink support for DSharpPlus stable versions. |
Lavalink4NET.DSharpPlus.Nightly |
An extension that provides Lavalink support for DSharpPlus nightly versions. |
Want to see your extension in the list above? Send a pull request or talk to us on Discord!
Natives
DSharpPlus also provides a number of native libraries that power certain features or extensions:
| Package | Description |
|---|---|
DSharpPlus.Natives.Zstd |
Enables zstd compression for the gateway. DSharpPlus will pick up on this by default and use it. |
DSharpPlus.Natives.Sodium |
Provides the required encryption support for VoiceNext and for DSharpPlus.Http.AspNetCore. |
DSharpPlus.Natives.Opus |
Provides the native audio encoder for VoiceNext. |
These are simply native libraries packaged as nuget packages, so you can use them from anywhere, not only DSharpPlus bots. They provide the targets {win, linux, linux-musl, osx}-{x64, arm64}. Note that x64 packages are built for x86_64_v2, which is any CPU newer than about 2008-2012: if you use an older CPU, you may need to build the native libraries yourself.
I want to throw my money at you
If you want to give us some money as a thank you gesture, you can do so using one of these links:
Questions?
Come talk to us here:
Alternatively, you could also join us in the Discord API chat at #dotnet_dsharpplus.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- CommunityToolkit.HighPerformance (>= 8.4.0)
- Microsoft.Extensions.Caching.Memory (>= 9.0.4)
- Microsoft.Extensions.Http (>= 9.0.4)
- Microsoft.Extensions.Logging (>= 9.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.4)
- NetEscapades.EnumGenerators (>= 1.0.0-beta12)
- Newtonsoft.Json (>= 13.0.3)
- Polly.Core (>= 8.5.2)
- System.Threading.RateLimiting (>= 9.0.17)
- Ulid (>= 1.3.4)
NuGet packages (64)
Showing the top 5 NuGet packages that depend on DSharpPlus:
| Package | Downloads |
|---|---|
|
DSharpPlus.CommandsNext
Advanced command framework for DSharpPlus. |
|
|
DSharpPlus.Interactivity
An addon that adds interactivity capabilities to commands. |
|
|
DSharpPlus.SlashCommands
An extension for DSharpPlus to make slash commands easy |
|
|
DSharpPlus.Rest
A Rest-only client for DSharpPlus. |
|
|
DSharpPlus.VoiceNext
Voice implementation for DSharpPlus. |
GitHub repositories (8)
Showing the top 8 popular GitHub repositories that depend on DSharpPlus:
| Repository | Stars |
|---|---|
|
MCCTeam/Minecraft-Console-Client
Lightweight console for Minecraft chat and automated scripts. Currently supports up to Minecraft 26.2
|
|
|
darkalfx/requestrr
Requestrr is a chatbot used to simplify using services like Sonarr/Radarr/Ombi via the use of chat. Current platform is Discord only, but the bot was built around the ideology of quick adaptation for new features as well as new platforms.
|
|
|
csharpfritz/csharp_with_csharpfritz
Show notes, slides, and samples from the CSharp with CSharpFritz show
|
|
|
JasonBock/Rocks
A mocking library based on the Compiler APIs (Roslyn + Mocks)
|
|
|
Universalis-FFXIV/Universalis
A crowdsourced market board API for FFXIV.
|
|
|
lavalink4net/Lavalink4NET
Lavalink4NET is a Lavalink wrapper with node clustering, caching and custom players for .NET with support for Discord.Net, DSharpPlus, Remora, and NetCord.
|
|
|
ThereGoesMySanity/osuMissAnalyzer
A program to analyze misses in an osu! replay
|
|
|
Sanae6/SmoOnlineServer
Official server for Super Mario Odyssey: Online
|
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0-nightly-02599 | 124 | 8/17/2026 |
| 5.0.0-nightly-02598 | 290 | 8/12/2026 |
| 5.0.0-nightly-02597 | 702 | 8/6/2026 |
| 5.0.0-nightly-02596 | 447 | 7/30/2026 |
| 5.0.0-nightly-02595 | 399 | 7/26/2026 |
| 5.0.0-nightly-02594 | 1,331 | 6/25/2026 |
| 5.0.0-nightly-02593 | 1,150 | 6/15/2026 |
| 5.0.0-nightly-02592 | 220 | 6/15/2026 |
| 5.0.0-nightly-02591 | 209 | 6/15/2026 |
| 5.0.0-nightly-02590 | 623 | 6/8/2026 |
| 5.0.0-nightly-02589 | 194 | 6/8/2026 |
| 5.0.0-nightly-02588 | 190 | 6/8/2026 |
| 5.0.0-nightly-02587 | 2,338 | 5/4/2026 |
| 5.0.0-nightly-02586 | 252 | 5/4/2026 |
| 5.0.0-nightly-02585 | 297 | 4/30/2026 |
| 5.0.0-nightly-02584 | 573 | 4/21/2026 |
| 5.0.0-nightly-02583 | 221 | 4/20/2026 |
| 5.0.0-nightly-02582 | 1,315 | 4/14/2026 |
| 5.0.0-nightly-02581 | 738 | 4/4/2026 |
| 4.5.2 | 11,426 | 4/14/2026 |