Discord.Net.WebSocket
3.16.0
dotnet add package Discord.Net.WebSocket --version 3.16.0
NuGet\Install-Package Discord.Net.WebSocket -Version 3.16.0
<PackageReference Include="Discord.Net.WebSocket" Version="3.16.0" />
paket add Discord.Net.WebSocket --version 3.16.0
#r "nuget: Discord.Net.WebSocket, 3.16.0"
// Install Discord.Net.WebSocket as a Cake Addin #addin nuget:?package=Discord.Net.WebSocket&version=3.16.0 // Install Discord.Net.WebSocket as a Cake Tool #tool nuget:?package=Discord.Net.WebSocket&version=3.16.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
- Discord.Net.Core (>= 3.16.0)
- Discord.Net.Rest (>= 3.16.0)
-
.NETStandard 2.0
- Discord.Net.Core (>= 3.16.0)
- Discord.Net.Rest (>= 3.16.0)
-
.NETStandard 2.1
- Discord.Net.Core (>= 3.16.0)
- Discord.Net.Rest (>= 3.16.0)
-
net5.0
- Discord.Net.Core (>= 3.16.0)
- Discord.Net.Rest (>= 3.16.0)
-
net6.0
- Discord.Net.Core (>= 3.16.0)
- Discord.Net.Rest (>= 3.16.0)
NuGet packages (48)
Showing the top 5 NuGet packages that depend on Discord.Net.WebSocket:
Package | Downloads |
---|---|
Discord.Net
An asynchronous API wrapper for Discord. This metapackage includes all of the optional Discord.Net components. |
|
Victoria
🌋 - Lavalink wrapper for Discord.NET, DSharpPlus and any other .NET based Discord API wrappers. Provides more options and performs better than all .NET Lavalink libraries combined. |
|
Lavalink4NET.Discord.NET
High performance Lavalink wrapper for .NET | Enhance your Discord bots with advanced audio playback using this integration for Lavalink4NET. Designed for end users building Discord.Net-based applications. |
|
Discord.Addons.Interactive
Package Description |
|
Discord.Addons.Hosting
Simplifying Discord.Net hosting with .NET Generic Host (Microsoft.Extensions.Hosting) |
GitHub repositories (9)
Showing the top 5 popular GitHub repositories that depend on Discord.Net.WebSocket:
Repository | Stars |
---|---|
discord-net/Discord.Net
An unofficial .Net wrapper for the Discord API (https://discord.com/)
|
|
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#
|
|
Yucked/Victoria
🌋 - Lavalink wrapper for Discord.NET. Provides more options and performs better than all .NET Lavalink libraries combined.
|
Version | Downloads | Last updated |
---|---|---|
3.16.0 | 29,551 | 9/13/2024 |
3.15.3 | 33,667 | 7/21/2024 |
3.15.2 | 46,557 | 6/18/2024 |
3.15.1 | 852 | 6/17/2024 |
3.15.0 | 30,431 | 5/11/2024 |
3.14.1 | 41,969 | 3/18/2024 |
3.14.0 | 1,283 | 3/18/2024 |
3.13.1 | 34,724 | 2/11/2024 |
3.13.0 | 101,377 | 11/18/2023 |
3.12.0 | 125,813 | 8/10/2023 |
3.11.0 | 48,576 | 6/27/2023 |
3.10.0 | 115,805 | 3/27/2023 |
3.9.0 | 123,986 | 12/23/2022 |
3.8.1 | 115,280 | 9/14/2022 |
3.8.0 | 25,454 | 8/28/2022 |
3.7.2 | 176,033 | 6/2/2022 |
3.7.1 | 85,735 | 5/27/2022 |
3.7.0 | 8,726 | 5/24/2022 |
3.6.1 | 253,554 | 4/30/2022 |
3.6.0 | 4,559 | 4/28/2022 |
3.5.0 | 119,054 | 4/5/2022 |
3.4.1 | 31,511 | 3/9/2022 |
3.4.0 | 11,968 | 3/3/2022 |
3.3.2 | 16,292 | 2/16/2022 |
3.3.1 | 3,363 | 2/16/2022 |
3.3.0 | 13,438 | 2/9/2022 |
3.2.1 | 12,763 | 1/30/2022 |
3.2.0 | 39,801 | 1/15/2022 |
3.1.0 | 20,994 | 12/24/2021 |
3.0.0 | 13,721 | 12/19/2021 |
2.4.0 | 208,644 | 5/22/2021 |
2.3.0 | 44,728 | 1/29/2021 |
2.2.0 | 241,108 | 4/17/2020 |
2.1.1 | 178,846 | 6/9/2019 |
2.1.0 | 15,275 | 5/19/2019 |
2.0.1 | 75,137 | 1/4/2019 |
2.0.0 | 28,866 | 12/28/2018 |
2.0.0-beta | 32,613 | 2/11/2018 |
1.0.2 | 117,037 | 9/9/2017 |
1.0.0-rc | 7,793 | 4/3/2017 |