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 | 662 | 12/31/2022 | |
2.1.0-prerelease.2 | 101 | 12/31/2022 | |
2.1.0-prerelease.1 | 101 | 12/31/2022 | |
2.0.4 | 313 | 12/30/2022 | |
2.0.3 | 328 | 12/29/2022 | |
2.0.2 | 293 | 12/29/2022 | |
2.0.1 | 296 | 12/29/2022 | |
2.0.0 | 295 | 12/28/2022 | |
2.0.0-prerelease.3 | 113 | 12/28/2022 | |
2.0.0-prerelease.2 | 105 | 12/28/2022 | |
2.0.0-prerelease.1 | 114 | 12/28/2022 | |
1.2.0 | 296 | 12/27/2022 | |
1.2.0-prerelease.2 | 107 | 12/27/2022 | |
1.2.0-prerelease.1 | 108 | 12/27/2022 | |
1.1.0 | 307 | 12/27/2022 | |
1.0.1 | 412 | 12/25/2022 | |
1.0.0 | 360 | 12/25/2022 |