Guilded 0.7.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package Guilded --version 0.7.5                
NuGet\Install-Package Guilded -Version 0.7.5                
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="Guilded" Version="0.7.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Guilded --version 0.7.5                
#r "nuget: Guilded, 0.7.5"                
#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 Guilded as a Cake Addin
#addin nuget:?package=Guilded&version=0.7.5

// Install Guilded as a Cake Tool
#tool nuget:?package=Guilded&version=0.7.5                

Banner

Guilded.NET

Version Version

Guilded.NET is a free and open-source unofficial API wrapper for Guilded written on .NET platform. It allows creating bots, webhooks and interacting any other way with Guilded API.

Installing

To add Guilded.NET to your existing project:

dotnet add package Guilded

To create a new Guilded.NET project:

dotnet new -i Guilded.Templates
dotnet new guilded.bot

Example

Here's an example of a minimal bot with a "ping" command in C# 10:

// Program.cs
using System.Reactive.Linq;
using Guilded;

string auth   = "your_bots_auth_token",
       prefix = "!";

using var client = new GuildedBotClient(auth);

client.Prepared
      .Subscribe(me =>
          Console.WriteLine("The bot is prepared!\nLogged in as \"{0}\" with the ID \"{1}\"", me.Name, me.Id)
      );

// Wait for !ping messages
client.MessageCreated
    .Where(msgCreated => msgCreated.Content == prefix + "ping")
    .Subscribe(async msgCreated =>
        await msgCreated.ReplyAsync("Pong!")
    );

await client.ConnectAsync();

// Don't close the program when the bot connects
await Task.Delay(-1);

(Implicit usings option is enabled)

Goals

Our goal is to provide a library that is consistent and fast, while also maintaining friendliness towards the bot developers. API library that does not bite bot developer's hand allows bot developers to focus more on their code, have fun in what they are doing and have easier time creating their bots. Consistency helps code be more predictable, easier to rewrite and waste less time. As such, these 3 points are our main goals while maintaining Guilded.NET.

Other information

Maintainers

Libraries

  • NewtonSoft.Json - Used as a library to (de)serialize Guilded.NET models.
  • RestSharp - Used for REST clients
  • Websocket.Client - Used for WebSocket clients
  • DefaultDocumentation - Generates documentation/references from .NET XML documentation

See also

Product 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 netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Guilded:

Package Downloads
Guilded.Commands

Command library for Guilded.NET

Guilded.Markdown

Adds Markdown utilities to Guilded clients

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.7.1 1,013 1/10/2024
1.7.0 221 1/3/2024
1.6.0 618 7/1/2023
1.5.1 2,548 4/11/2023
1.5.0 346 4/1/2023
1.3.0 581 12/22/2022
1.2.0 610 11/24/2022
1.1.5 569 11/16/2022
1.1.4 540 11/9/2022
1.1.3 611 11/4/2022
1.1.2 2,023 10/31/2022
1.1.0 810 10/29/2022
1.0.2 608 9/16/2022
1.0.1 668 9/13/2022
1.0.0 535 9/13/2022
0.10.0 578 8/25/2022
0.9.3 679 8/7/2022
0.9.2 612 7/31/2022
0.9.1 566 7/25/2022
0.9.0 575 7/21/2022
0.8.6 789 6/24/2022
0.8.5 640 6/23/2022
0.8.4 690 6/12/2022
0.8.2 705 6/4/2022
0.8.1 672 6/3/2022
0.8.0 783 5/16/2022
0.7.6 430 5/11/2022
0.7.5 446 4/26/2022
0.7.4 453 4/13/2022
0.7.3 418 4/13/2022
0.7.2 441 4/13/2022
0.7.1 459 4/13/2022
0.7.0 465 4/9/2022
0.6.0 453 3/4/2022