Guilded 1.5.1

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

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

<div align="center">

Banner

🟡 Guilded.NET

</div>

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

Version Version

📥 Installing

Guilded.NET is available as a package on NuGet (or FuGet).

You can run this command to add Guilded.NET to an existing .NET project:

dotnet add package Guilded

Otherwise, you can install Guilded.NET templates and create new Guilded.NET projects:

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

⚙️ Using Guilded.NET

You can check out Guilded.NET's guide to get started on your bot. If you want to see everything that Guilded.NET offers, check out reference page.

It is recommended to use .NET 6 or above for Guilded.NET. While Guilded.NET supports .NET 5 or similar for now, this will definitely change in the future.

📙 Example

Here's a quick example of a starter Guilded.NET bot with a !ping command:

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

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

await 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; not recommended to put code after this
await Task.Delay(-1);

Note: The code above uses enabled implicit usings option.

⁉️ Support

If you need any help related to Guilded.NET, you can check out the following sources:

✅ Goals

Our goal is to provide a library that is consistent and fast, while also maintaining ease of use. A library that does not bite a developer's hand allows them to focus more heavily on their code, have fun in what they are doing along, and have an easier time making bots. The consistency of code helps increase readability and collaboration.

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