1
0
Fork 0
mirror of https://github.com/DSharpPlus/DSharpPlus.git synced 2026-01-02 03:29:27 +01:00
A .NET library for making bots using the Discord API. https://discord.gg/dsharpplus
Find a file
Megumemed 7d851cb380
correct spelling mistake in create event exception message
* Update DiscordChannel.cs

Correct spelling and grammar on exception message

* Update DiscordChannel.cs

comment correction
2025-12-24 13:32:06 +01:00
.github downgrade the docfx version to last working in the action (#2390) 2025-11-03 13:37:14 +01:00
docs direct users towards using v5.0 nightlies instead of v4.5.X (#2389) 2025-11-02 19:24:36 +01:00
DSharpPlus correct spelling mistake in create event exception message 2025-12-24 13:32:06 +01:00
DSharpPlus.Analyzers Added all the numerical operations to trigger for DSP0009 2025-05-18 20:15:54 +02:00
DSharpPlus.Commands fix: make localizer execution not dependent on extension (#2387) 2025-10-19 20:47:49 +02:00
DSharpPlus.CommandsNext Refactor collections to use IReadOnlyList instead of ReadOnlyCollection (#2371) 2025-09-20 15:52:47 +02:00
DSharpPlus.Http.AspNetCore adds a dependency on sodium to dsharpplus.http.aspnetcore (#2319) 2025-05-17 18:53:28 +02:00
DSharpPlus.Interactivity Support for selects in modals (#2374) 2025-09-20 19:46:44 +02:00
DSharpPlus.Tests fix code inspections (#2249) 2025-02-28 12:31:01 +01:00
DSharpPlus.VoiceNext Refactor collections to use IReadOnlyList instead of ReadOnlyCollection (#2371) 2025-09-20 15:52:47 +02:00
logo Added a copy of D#+ logo that doesn't cause URL problems. 2017-04-23 00:44:55 +02:00
obsolete/DSharpPlus.SlashCommands enable collection expressions for permissions (#2322) 2025-05-23 11:42:05 +02:00
tools update bug_report.yml and docs for .NET 9 (#2156) 2024-11-12 19:25:15 +01:00
.editorconfig Move SL and LL to obsolete folder (#1899) 2024-05-14 22:58:56 +02:00
.gitignore this turned out to be rather simple (#2168) 2024-11-16 21:58:05 +01:00
BUILDING.md clean up docs, remake (#1517) 2023-03-22 11:47:50 -06:00
CODE_OF_CONDUCT.md Update and rename code_of_conduct.md to CODE_OF_CONDUCT.md 2023-08-29 00:27:26 +05:00
CONTRIBUTING.md Update CONTRIBUTING.md (#2125) 2024-10-20 11:32:46 +02:00
Directory.Build.props Use slnx instead of old sln (#2324) 2025-05-23 13:40:20 +02:00
Directory.Packages.props Added Analyzer projects into the solution file (again) 2025-05-17 20:51:26 +02:00
DiscordSharp.LICENSE [ci skip] Update licenses. Resolves #179. 2017-10-07 15:40:17 +02:00
DSharpPlus.slnx Use slnx instead of old sln (#2324) 2025-05-23 13:40:20 +02:00
LICENSE Bump license dates from 2024 to 2025 (#2242) 2025-02-11 23:14:52 +01:00
README.md [ci skip] Correct documentation version. Closes #2368 (#2369) 2025-09-03 19:34:44 +02:00

Logo of DSharpPlus

DSharpPlus

An unofficial .NET wrapper for the Discord API, based off DiscordSharp, but rewritten to fit the API standards.

Nightly Build Status Discord Server NuGet NuGet Latest Nightly/Prerelease

Installing

You can install the library from following sources:

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

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

  3. 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 nightly 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:

DSharpPlus Chat

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

Discord API Chat