Discord.Net.Core
3.14.0
See the version list below for details.
dotnet add package Discord.Net.Core --version 3.14.0
NuGet\Install-Package Discord.Net.Core -Version 3.14.0
<PackageReference Include="Discord.Net.Core" Version="3.14.0" />
paket add Discord.Net.Core --version 3.14.0
#r "nuget: Discord.Net.Core, 3.14.0"
// Install Discord.Net.Core as a Cake Addin #addin nuget:?package=Discord.Net.Core&version=3.14.0 // Install Discord.Net.Core as a Cake Tool #tool nuget:?package=Discord.Net.Core&version=3.14.0
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 | 26,853 | 9/13/2024 |
3.15.3 | 37,322 | 7/21/2024 |
3.15.2 | 47,444 | 6/18/2024 |
3.15.1 | 1,064 | 6/17/2024 |
3.15.0 | 35,251 | 5/11/2024 |
3.14.1 | 76,693 | 3/18/2024 |
3.14.0 | 1,597 | 3/18/2024 |
3.13.1 | 43,919 | 2/11/2024 |
3.13.0 | 116,481 | 11/18/2023 |
3.12.0 | 136,161 | 8/10/2023 |
3.11.0 | 68,915 | 6/27/2023 |
3.10.0 | 186,421 | 3/27/2023 |
3.9.0 | 148,290 | 12/23/2022 |
3.8.1 | 127,648 | 9/14/2022 |
3.8.0 | 33,471 | 8/28/2022 |
3.7.2 | 188,225 | 6/2/2022 |
3.7.1 | 89,438 | 5/27/2022 |
3.7.0 | 15,294 | 5/24/2022 |
3.6.1 | 259,037 | 4/30/2022 |
3.6.0 | 184,931 | 4/28/2022 |
3.5.0 | 131,367 | 4/5/2022 |
3.4.1 | 36,605 | 3/9/2022 |
3.4.0 | 16,030 | 3/3/2022 |
3.3.2 | 31,883 | 2/16/2022 |
3.3.1 | 6,880 | 2/16/2022 |
3.3.0 | 17,730 | 2/9/2022 |
3.2.1 | 20,995 | 1/30/2022 |
3.2.0 | 44,475 | 1/15/2022 |
3.1.0 | 24,712 | 12/24/2021 |
3.0.0 | 16,653 | 12/19/2021 |
2.4.0 | 242,051 | 5/22/2021 |
2.3.0 | 50,884 | 1/29/2021 |
2.2.0 | 263,482 | 4/17/2020 |
2.1.1 | 193,385 | 6/9/2019 |
2.1.0 | 18,995 | 5/19/2019 |
2.0.1 | 118,400 | 1/4/2019 |
2.0.0 | 35,827 | 12/28/2018 |
2.0.0-beta | 37,016 | 2/11/2018 |
1.0.2 | 124,495 | 9/9/2017 |
1.0.0-rc | 10,762 | 4/3/2017 |