Discord.Net.Core
3.15.2
See the version list below for details.
dotnet add package Discord.Net.Core --version 3.15.2
NuGet\Install-Package Discord.Net.Core -Version 3.15.2
<PackageReference Include="Discord.Net.Core" Version="3.15.2" />
paket add Discord.Net.Core --version 3.15.2
#r "nuget: Discord.Net.Core, 3.15.2"
// Install Discord.Net.Core as a Cake Addin #addin nuget:?package=Discord.Net.Core&version=3.15.2 // Install Discord.Net.Core as a Cake Tool #tool nuget:?package=Discord.Net.Core&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.
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 | 33,047 | 9/13/2024 |
3.15.3 | 38,128 | 7/21/2024 |
3.15.2 | 49,392 | 6/18/2024 |
3.15.1 | 1,064 | 6/17/2024 |
3.15.0 | 35,709 | 5/11/2024 |
3.14.1 | 78,198 | 3/18/2024 |
3.14.0 | 1,632 | 3/18/2024 |
3.13.1 | 44,529 | 2/11/2024 |
3.13.0 | 117,733 | 11/18/2023 |
3.12.0 | 137,041 | 8/10/2023 |
3.11.0 | 69,068 | 6/27/2023 |
3.10.0 | 186,956 | 3/27/2023 |
3.9.0 | 149,142 | 12/23/2022 |
3.8.1 | 128,060 | 9/14/2022 |
3.8.0 | 33,527 | 8/28/2022 |
3.7.2 | 188,360 | 6/2/2022 |
3.7.1 | 89,441 | 5/27/2022 |
3.7.0 | 15,300 | 5/24/2022 |
3.6.1 | 259,045 | 4/30/2022 |
3.6.0 | 184,985 | 4/28/2022 |
3.5.0 | 131,411 | 4/5/2022 |
3.4.1 | 36,611 | 3/9/2022 |
3.4.0 | 16,040 | 3/3/2022 |
3.3.2 | 31,951 | 2/16/2022 |
3.3.1 | 6,880 | 2/16/2022 |
3.3.0 | 17,730 | 2/9/2022 |
3.2.1 | 20,997 | 1/30/2022 |
3.2.0 | 44,477 | 1/15/2022 |
3.1.0 | 24,720 | 12/24/2021 |
3.0.0 | 16,669 | 12/19/2021 |
2.4.0 | 242,473 | 5/22/2021 |
2.3.0 | 51,010 | 1/29/2021 |
2.2.0 | 263,571 | 4/17/2020 |
2.1.1 | 193,893 | 6/9/2019 |
2.1.0 | 19,059 | 5/19/2019 |
2.0.1 | 118,411 | 1/4/2019 |
2.0.0 | 35,828 | 12/28/2018 |
2.0.0-beta | 37,020 | 2/11/2018 |
1.0.2 | 124,545 | 9/9/2017 |
1.0.0-rc | 10,762 | 4/3/2017 |