DiscordIntegration 2.1.0-prerelease.2
This is a prerelease version of DiscordIntegration.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DiscordIntegration --version 2.1.0-prerelease.2
NuGet\Install-Package DiscordIntegration -Version 2.1.0-prerelease.2
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-prerelease.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DiscordIntegration --version 2.1.0-prerelease.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DiscordIntegration, 2.1.0-prerelease.2"
#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-prerelease.2&prerelease // Install DiscordIntegration as a Cake Tool #tool nuget:?package=DiscordIntegration&version=2.1.0-prerelease.2&prerelease
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("MY_WEBHOOK_URL");
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 | 646 | 12/31/2022 | |
2.1.0-prerelease.2 | 99 | 12/31/2022 | |
2.1.0-prerelease.1 | 98 | 12/31/2022 | |
2.0.4 | 311 | 12/30/2022 | |
2.0.3 | 326 | 12/29/2022 | |
2.0.2 | 291 | 12/29/2022 | |
2.0.1 | 294 | 12/29/2022 | |
2.0.0 | 292 | 12/28/2022 | |
2.0.0-prerelease.3 | 110 | 12/28/2022 | |
2.0.0-prerelease.2 | 103 | 12/28/2022 | |
2.0.0-prerelease.1 | 112 | 12/28/2022 | |
1.2.0 | 293 | 12/27/2022 | |
1.2.0-prerelease.2 | 104 | 12/27/2022 | |
1.2.0-prerelease.1 | 106 | 12/27/2022 | |
1.1.0 | 305 | 12/27/2022 | |
1.0.1 | 409 | 12/25/2022 | |
1.0.0 | 358 | 12/25/2022 |