Discord.Net.Core
3.14.1
See the version list below for details.
dotnet add package Discord.Net.Core --version 3.14.1
NuGet\Install-Package Discord.Net.Core -Version 3.14.1
<PackageReference Include="Discord.Net.Core" Version="3.14.1" />
paket add Discord.Net.Core --version 3.14.1
#r "nuget: Discord.Net.Core, 3.14.1"
// Install Discord.Net.Core as a Cake Addin #addin nuget:?package=Discord.Net.Core&version=3.14.1 // Install Discord.Net.Core as a Cake Tool #tool nuget:?package=Discord.Net.Core&version=3.14.1
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- Newtonsoft.Json (>= 13.0.3)
- System.Collections.Immutable (>= 6.0.0)
- System.Interactive.Async (>= 6.0.1)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.3)
- System.Collections.Immutable (>= 6.0.0)
- System.Interactive.Async (>= 6.0.1)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.3)
- System.Collections.Immutable (>= 6.0.0)
- System.Interactive.Async (>= 6.0.1)
- System.ValueTuple (>= 4.5.0)
-
net5.0
- Newtonsoft.Json (>= 13.0.3)
- System.Collections.Immutable (>= 6.0.0)
- System.Interactive.Async (>= 6.0.1)
- System.ValueTuple (>= 4.5.0)
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
- System.Collections.Immutable (>= 6.0.0)
- System.Interactive.Async (>= 6.0.1)
- System.ValueTuple (>= 4.5.0)
NuGet packages (27)
Showing the top 5 NuGet packages that depend on Discord.Net.Core:
Package | Downloads |
---|---|
Discord.Net.Rest
A core Discord.Net library containing the REST client and models. |
|
Discord.Net.Webhook
A core Discord.Net library containing the Webhook client and models. |
|
Discord.Net.WebSocket
A core Discord.Net library containing the WebSocket client and models. |
|
Discord.Net.Commands
A Discord.Net extension adding support for bot commands. |
|
Discord.Net
An asynchronous API wrapper for Discord. This metapackage includes all of the optional Discord.Net components. |
GitHub repositories (5)
Showing the top 5 popular GitHub repositories that depend on Discord.Net.Core:
Repository | Stars |
---|---|
WindowsGSM/WindowsGSM
🎲 A powerful tool to manage game servers. Equipped with a GUI for server admins to install, import, start, stop, restart, update, and automate multiple servers with a push of a button.
|
|
fmbot-discord/fmbot
.fmbot is a social Discord bot that provides music statistics for you and your friends.
|
|
DeSinc/SallyBot
AI Chatbot coded in Discord.net C#
|
|
thomasloupe/Slackord
Slackord is an application that allows you to migrate Slack messages into a Discord server.
|
|
ark-mod/ArkBot
ARK Survival Evolved application that monitors and extracts data from local ARK servers and exposes this data through a Web App, Web API and Discord Bot. Provides important functions to players: dino listings, food-status, breeding info, statistics; and server admins: rcon-commands, server managing etc.
|
Version | Downloads | Last updated |
---|---|---|
3.16.0 | 37,533 | 9/13/2024 |
3.15.3 | 39,078 | 7/21/2024 |
3.15.2 | 50,400 | 6/18/2024 |
3.15.1 | 1,066 | 6/17/2024 |
3.15.0 | 36,070 | 5/11/2024 |
3.14.1 | 79,292 | 3/18/2024 |
3.14.0 | 1,635 | 3/18/2024 |
3.13.1 | 44,956 | 2/11/2024 |
3.13.0 | 118,514 | 11/18/2023 |
3.12.0 | 137,675 | 8/10/2023 |
3.11.0 | 69,264 | 6/27/2023 |
3.10.0 | 187,343 | 3/27/2023 |
3.9.0 | 149,667 | 12/23/2022 |
3.8.1 | 128,315 | 9/14/2022 |
3.8.0 | 33,604 | 8/28/2022 |
3.7.2 | 188,433 | 6/2/2022 |
3.7.1 | 89,445 | 5/27/2022 |
3.7.0 | 15,309 | 5/24/2022 |
3.6.1 | 259,057 | 4/30/2022 |
3.6.0 | 185,041 | 4/28/2022 |
3.5.0 | 131,466 | 4/5/2022 |
3.4.1 | 36,625 | 3/9/2022 |
3.4.0 | 16,046 | 3/3/2022 |
3.3.2 | 31,990 | 2/16/2022 |
3.3.1 | 6,885 | 2/16/2022 |
3.3.0 | 17,734 | 2/9/2022 |
3.2.1 | 21,002 | 1/30/2022 |
3.2.0 | 44,484 | 1/15/2022 |
3.1.0 | 24,742 | 12/24/2021 |
3.0.0 | 16,686 | 12/19/2021 |
2.4.0 | 242,790 | 5/22/2021 |
2.3.0 | 51,134 | 1/29/2021 |
2.2.0 | 263,658 | 4/17/2020 |
2.1.1 | 194,302 | 6/9/2019 |
2.1.0 | 19,063 | 5/19/2019 |
2.0.1 | 118,424 | 1/4/2019 |
2.0.0 | 35,834 | 12/28/2018 |
2.0.0-beta | 37,027 | 2/11/2018 |
1.0.2 | 124,608 | 9/9/2017 |
1.0.0-rc | 10,763 | 4/3/2017 |