DSharpPlus 5.0.0-nightly-02623

This is a prerelease version of DSharpPlus.
dotnet add package DSharpPlus --version 5.0.0-nightly-02623
                    
NuGet\Install-Package DSharpPlus -Version 5.0.0-nightly-02623
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DSharpPlus" Version="5.0.0-nightly-02623" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DSharpPlus" Version="5.0.0-nightly-02623" />
                    
Directory.Packages.props
<PackageReference Include="DSharpPlus" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DSharpPlus --version 5.0.0-nightly-02623
                    
#r "nuget: DSharpPlus, 5.0.0-nightly-02623"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DSharpPlus@5.0.0-nightly-02623
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DSharpPlus&version=5.0.0-nightly-02623&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DSharpPlus&version=5.0.0-nightly-02623&prerelease
                    
Install as a Cake Tool

Logo of DSharpPlus

DSharpPlus

An unofficial .NET wrapper for the Discord API, the continuation of DiscordSharp.

Discord Server NuGet NuGet Latest Nightly/Prerelease

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

  1. 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.
  2. 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

Opening Issues

If you think you found a bug, have an idea for a feature or simply want to make us aware of something, do not hesitate to open an issue.

Please take care to write the issue yourself, to include the steps that led to you encountering the issue, what you expected and what actually happened. Fully or partially LLM-generated issue, PR, or comment bodies are NOT allowed, and reports with incomplete information may be closed if we cannot reproduce them.

If the issue pertains to the documentation, please also include what is presently documented and how the library or Discord actually behave. Note that code snippets in the documentation are illustrative and not meant to be copy-pasted.

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.Voice 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.Sodium Provides the required encryption support for Voice and for DSharpPlus.Http.AspNetCore.
DSharpPlus.Natives.Opus Provides the native audio encoder for Voice.
DSharpPlus.Natives.Speex Provides resampling support for Voice.
DSharpPlus.Natives.Koana Provides the required end-to-end encryption support for Voice.

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}.

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:

DSharpPlus Chat

Alternatively, you could also join us in the Discord API chat at #dotnet_dsharpplus.

Discord API Chat

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (69)

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.VoiceNext

Voice implementation for DSharpPlus.

DSharpPlus.Rest

A Rest-only client 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-02623 0 11/24/2026
5.0.0-nightly-02621 181 11/20/2026
5.0.0-nightly-02620 87 11/20/2026
5.0.0-nightly-02619 196 11/20/2026
5.0.0-nightly-02618 75 11/20/2026
5.0.0-nightly-02617 77 11/20/2026
5.0.0-nightly-02616 907 11/11/2026
5.0.0-nightly-02615 558 11/8/2026
5.0.0-nightly-02614 639 11/1/2026
5.0.0-nightly-02613 3,015 9/23/2026
5.0.0-nightly-02612 259 9/23/2026
5.0.0-nightly-02611 1,022 9/19/2026
5.0.0-nightly-02610 198 9/19/2026
5.0.0-nightly-02609 564 9/15/2026
5.0.0-nightly-02608 203 9/15/2026
5.0.0-nightly-02607 236 9/15/2026
5.0.0-nightly-02606 600 9/12/2026
5.0.0-nightly-02605 719 9/10/2026
5.0.0-nightly-02604 221 9/10/2026
5.0.0-nightly-02603 1,309 9/1/2026
Loading failed