Discord.Net
3.15.2
See the version list below for details.
dotnet add package Discord.Net --version 3.15.2
NuGet\Install-Package Discord.Net -Version 3.15.2
<PackageReference Include="Discord.Net" Version="3.15.2" />
paket add Discord.Net --version 3.15.2
#r "nuget: Discord.Net, 3.15.2"
// Install Discord.Net as a Cake Addin #addin nuget:?package=Discord.Net&version=3.15.2 // Install Discord.Net as a Cake Tool #tool nuget:?package=Discord.Net&version=3.15.2
Discord.Net
Discord.Net is an unofficial .NET API Wrapper for the Discord API (https://discord.com/developers/docs/intro).
📄 Documentation
- https://discordnet.dev
- Sample Projects in our repository
Feedback
You report issues with the library by opening an issue in our GitHub Repository
If you need help with using Discord.Net check out the following:
- ask on our Discord Support Server
- start a thread in GitHub Discussions
📥 Installation
Stable (NuGet)
Our stable builds available from NuGet through the Discord.Net metapackage:
The individual components may also be installed from NuGet:
Webhooks
Text-Command & Interaction services.
Complete API coverage.
The API core. Implements only entities and barebones functionality.
Unstable
Nightly builds are available through our MyGet feed (https://www.myget.org/F/discord-net/api/v3/index.json
).
These builds target the dev branch.
🩷 Supporting Discord.Net
Discord.Net is an MIT-licensed open source project with its development made possible entirely by volunteers. If you'd like to support our efforts financially, please consider:
🛑 Known Issues
WebSockets (Win7 and earlier)
.NET Core 1.1 does not support WebSockets on Win7 and earlier. This issue has been fixed since the release of .NET Core 2.1. It is recommended to target .NET Core 2.1 or above for your project if you wish to run your bot on legacy platforms; alternatively, you may choose to install the Discord.Net.Providers.WS4Net package.
TLS on .NET Framework.
Discord supports only TLS1.2+ on all their websites including the API since 07/19/2022.
.NET Framework does not support this protocol by default.
If you depend on .NET Framework, it is suggested to upgrade your project to net6-windows
.
This framework supports most of the windows-only features introduced by fx, and resolves startup errors from the TLS protocol mismatch.
🗃️ Versioning Guarantees
This library generally abides by Semantic Versioning. Packages are published in MAJOR.MINOR.PATCH
version format.
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6.1
- Discord.Net.Commands (>= 3.15.2)
- Discord.Net.Core (>= 3.15.2)
- Discord.Net.Interactions (>= 3.15.2)
- Discord.Net.Rest (>= 3.15.2)
- Discord.Net.Webhook (>= 3.15.2)
- Discord.Net.WebSocket (>= 3.15.2)
-
.NETStandard 2.0
- Discord.Net.Commands (>= 3.15.2)
- Discord.Net.Core (>= 3.15.2)
- Discord.Net.Interactions (>= 3.15.2)
- Discord.Net.Rest (>= 3.15.2)
- Discord.Net.Webhook (>= 3.15.2)
- Discord.Net.WebSocket (>= 3.15.2)
-
.NETStandard 2.1
- Discord.Net.Commands (>= 3.15.2)
- Discord.Net.Core (>= 3.15.2)
- Discord.Net.Interactions (>= 3.15.2)
- Discord.Net.Rest (>= 3.15.2)
- Discord.Net.Webhook (>= 3.15.2)
- Discord.Net.WebSocket (>= 3.15.2)
-
net5.0
- Discord.Net.Commands (>= 3.15.2)
- Discord.Net.Core (>= 3.15.2)
- Discord.Net.Interactions (>= 3.15.2)
- Discord.Net.Rest (>= 3.15.2)
- Discord.Net.Webhook (>= 3.15.2)
- Discord.Net.WebSocket (>= 3.15.2)
-
net6.0
- Discord.Net.Commands (>= 3.15.2)
- Discord.Net.Core (>= 3.15.2)
- Discord.Net.Interactions (>= 3.15.2)
- Discord.Net.Rest (>= 3.15.2)
- Discord.Net.Webhook (>= 3.15.2)
- Discord.Net.WebSocket (>= 3.15.2)
NuGet packages (105)
Showing the top 5 NuGet packages that depend on Discord.Net:
Package | Downloads |
---|---|
TixFactory.Discord
Package Description |
|
DDB
fix issue with AWS S3 uploads. |
|
Aeolin.AwoBot
A basic setup for a discord.net code based on DependencyInjection and Module discovery |
|
Cookie
Package Description |
|
DiscordManager
Package Description |
GitHub repositories (22)
Showing the top 5 popular GitHub repositories that depend on Discord.Net:
Repository | Stars |
---|---|
discord-net/Discord.Net
An unofficial .Net wrapper for the Discord API (https://discord.com/)
|
|
microsoft/kernel-memory
RAG architecture: index and query any data using LLM and natural language, track sources, show citations, asynchronous memory patterns.
|
|
blizzless/blizzless-diiis
Fully-functional open-source server implementation for Diablo 3
|
|
WolvenKit/WolvenKit
Community Mod editor/creator for REDengine games.
|
|
riperiperi/FreeSO
Re-implementation of The Sims Online.
|
Version | Downloads | Last updated |
---|---|---|
3.16.0 | 28,999 | 9/13/2024 |
3.15.3 | 29,624 | 7/21/2024 |
3.15.2 | 40,814 | 6/18/2024 |
3.15.1 | 619 | 6/17/2024 |
3.15.0 | 23,014 | 5/11/2024 |
3.14.1 | 38,779 | 3/18/2024 |
3.14.0 | 1,018 | 3/18/2024 |
3.13.1 | 26,161 | 2/11/2024 |
3.13.0 | 60,827 | 11/18/2023 |
3.12.0 | 103,134 | 8/10/2023 |
3.11.0 | 44,497 | 6/27/2023 |
3.10.0 | 102,686 | 3/27/2023 |
3.9.0 | 114,347 | 12/23/2022 |
3.8.1 | 92,369 | 9/14/2022 |
3.8.0 | 23,187 | 8/28/2022 |
3.7.2 | 163,751 | 6/2/2022 |
3.7.1 | 84,580 | 5/27/2022 |
3.7.0 | 7,389 | 5/24/2022 |
3.6.1 | 249,313 | 4/30/2022 |
3.6.0 | 3,374 | 4/28/2022 |
3.5.0 | 116,291 | 4/5/2022 |
3.4.1 | 27,887 | 3/9/2022 |
3.4.0 | 9,283 | 3/3/2022 |
3.3.2 | 15,553 | 2/16/2022 |
3.3.1 | 2,260 | 2/16/2022 |
3.3.0 | 8,827 | 2/9/2022 |
3.2.1 | 10,002 | 1/30/2022 |
3.2.0 | 34,719 | 1/15/2022 |
3.1.0 | 19,237 | 12/24/2021 |
3.0.0 | 10,186 | 12/19/2021 |
2.4.0 | 195,204 | 5/22/2021 |
2.3.0 | 35,586 | 1/29/2021 |
2.2.0 | 163,726 | 4/17/2020 |
2.1.1 | 160,798 | 6/9/2019 |
2.1.0 | 15,658 | 5/19/2019 |
2.0.1 | 49,371 | 1/4/2019 |
2.0.0 | 14,980 | 12/28/2018 |
2.0.0-beta | 32,560 | 2/17/2018 |
1.0.2 | 107,225 | 9/9/2017 |