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                
#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                

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 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 660 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.3 is deprecated because it has critical bugs.
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