DiscordIntegration 2.1.0
dotnet add package DiscordIntegration --version 2.1.0
NuGet\Install-Package DiscordIntegration -Version 2.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DiscordIntegration" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DiscordIntegration --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DiscordIntegration, 2.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DiscordIntegration as a Cake Addin #addin nuget:?package=DiscordIntegration&version=2.1.0 // Install DiscordIntegration as a Cake Tool #tool nuget:?package=DiscordIntegration&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Discord Integration
A library to help integrate Discord into .NET applications using webhooks and RPC.
Webhooks
Send messages to Discord using webhooks.
using var myWebhookClient = new WebhookClient("https://discord.com/api/webhooks/1234567890/abcdefghijklmnopqrstuvwxyz");
var myWebhookMessage = new WebhookMessage()
.AddEmbed(new Embed()
.WithTitle("Discord Integration")
.WithDescription("A very cool library.")
.WithColor(EmbedColor.Blurple));
await myWebhookClient.ExecuteAsync(myWebhookMessage)
Rich Presence
Let users show off your program on Discord with Rich Presence.
using var myRpcClient = new RpcClient(1234567890);
myRpcClient.Presence = new RichPresence()
.WithState("Playing a cool game")
.WithDetails("Doing something cool")
.WithParty(new RichPresenceParty(currentSize: 4, maxSize: 5));
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
2.1.0 | 684 | 12/31/2022 | |
2.1.0-prerelease.2 | 103 | 12/31/2022 | |
2.1.0-prerelease.1 | 103 | 12/31/2022 | |
2.0.4 | 319 | 12/30/2022 | |
2.0.3 | 335 | 12/29/2022 | |
2.0.2 | 297 | 12/29/2022 | |
2.0.1 | 300 | 12/29/2022 | |
2.0.0 | 303 | 12/28/2022 | |
2.0.0-prerelease.3 | 115 | 12/28/2022 | |
2.0.0-prerelease.2 | 107 | 12/28/2022 | |
2.0.0-prerelease.1 | 116 | 12/28/2022 | |
1.2.0 | 300 | 12/27/2022 | |
1.2.0-prerelease.2 | 109 | 12/27/2022 | |
1.2.0-prerelease.1 | 110 | 12/27/2022 | |
1.1.0 | 313 | 12/27/2022 | |
1.0.1 | 418 | 12/25/2022 | |
1.0.0 | 366 | 12/25/2022 |