DSharpPlus 5.0.0-nightly-02265
See the version list below for details.
dotnet add package DSharpPlus --version 5.0.0-nightly-02265
NuGet\Install-Package DSharpPlus -Version 5.0.0-nightly-02265
<PackageReference Include="DSharpPlus" Version="5.0.0-nightly-02265" />
paket add DSharpPlus --version 5.0.0-nightly-02265
#r "nuget: DSharpPlus, 5.0.0-nightly-02265"
// Install DSharpPlus as a Cake Addin #addin nuget:?package=DSharpPlus&version=5.0.0-nightly-02265&prerelease // Install DSharpPlus as a Cake Tool #tool nuget:?package=DSharpPlus&version=5.0.0-nightly-02265&prerelease
DSharpPlus
An unofficial .NET wrapper for the Discord API, based off DiscordSharp, but rewritten to fit the API standards.
Installing
You can install the library from following sources:
All Nightly versions are available on Nuget as a pre-release. These are cutting-edge versions automatically built from the latest commit in the
master
branch in this repository, and as such always contains the latest changes. If you want to use the latest features on Discord, you should use the nightlies.Despite the nature of pre-release software, all changes to the library are held under a level of scrutiny; for this library, unstable does not mean bad quality, rather it means that the API can be subject to change without prior notice (to ease rapid iteration) and that consumers of the library should always remain on the latest version available (to immediately get the latest fixes and improvements). You will usually want to use this version.
The latest stable release is always available on NuGet. Stable versions are released less often, but are guaranteed to not receive any breaking API changes without a major version bump.
Critical bugfixes in the nightly releases will usually be backported to the latest major stable release, but only after they have passed our soak tests. Additionally, some smaller fixes may be infrastructurally impossible or very difficult to backport without "breaking everything", and as such they will remain only in the nightly release until the next major release. You should evaluate whether or not this version suits your specific needs.
The library can be directly referenced from your csproj file. Cloning the repository and referencing the library is as easy as:
git clone https://github.com/DSharpPlus/DSharpPlus.git DSharpPlus-Repo
Edit MyProject.csproj and add the following line:
<ProjectReference Include="../DSharpPlus-Repo/DSharpPlus/DSharpPlus.csproj" />
This belongs in the ItemGroup tag with the rest of your dependencies. The library should not be in the same directory or subdirectory as your project. This method should only be used if you're making local changes to the library.
Documentation
The documentation for the latest stable version is available at dsharpplus.github.io.
Resources
The following resources apply only for the latest stable version of the library.
Tutorials
Example bots
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 | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
- Newtonsoft.Json (>= 13.0.3)
- Polly.Core (>= 8.3.1)
- Ulid (>= 1.3.3)
NuGet packages (58)
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 (9)
Showing the top 5 popular GitHub repositories that depend on DSharpPlus:
Repository | Stars |
---|---|
MCCTeam/Minecraft-Console-Client
Lightweight console for Minecraft chat and automated scripts
|
|
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.
|