Guilded 0.6.0
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
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 Guilded --version 0.6.0
NuGet\Install-Package Guilded -Version 0.6.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="Guilded" Version="0.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Guilded --version 0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Guilded, 0.6.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 Guilded as a Cake Addin #addin nuget:?package=Guilded&version=0.6.0 // Install Guilded as a Cake Tool #tool nuget:?package=Guilded&version=0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Guilded.NET
Guilded.NET is an open-source unofficial API wrapper for Guilded written on .NET platform. It tries to integrate as many Guilded API features as possible, while also maintaining the usability and ease of use for the developers.
- To get started with Guilded.NET, check out documentation page.
- To see all Guilded.NET references, check out reference page.
Example
An example of a bot that only responds to ping commands in C# 10:
// config/config.js
{
"auth": "your_auth_token_here",
"prefix": "!"
}
// Program.cs
using System;
using System.IO;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Guilded;
using Newtonsoft.Json.Linq;
// Get the configuration values
JObject config = JObject.Parse(await File.ReadAllTextAsync("./config/config.json").ConfigureAwait(false));
string? auth = config.Value<string>("auth"),
prefix = config.Value<string>("prefix");
using GuildedBotClient client = new(auth);
client.Connected += (_, _) => Console.WriteLine("Connected");
client.Prepared += (_, _) => Console.WriteLine("Prepared");
// Wait for !ping messages
client.MessageCreated
.Where(msgCreated => msgCreated.Content == prefix + "ping")
.Subscribe(async msgCreated => await msgCreated.ReplyAsync("Pong!").ConfigureAwait(false));
await client.ConnectAsync().ConfigureAwait(false);
// Don't close the program when the bot connects
await Task.Delay(-1).ConfigureAwait(false);
Links
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
Maintainers
- IdkGoodName - leading maintainer
See also
Product | Versions 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.
-
.NETStandard 2.1
- Guilded.Base (>= 0.6.0)
- Newtonsoft.Json (>= 13.0.1)
- RestSharp (>= 107.1.1)
- RestSharp.Serializers.NewtonsoftJson (>= 107.1.1)
- System.Reactive (>= 5.0.0)
- Websocket.Client (>= 4.4.43)
-
net5.0
- Guilded.Base (>= 0.6.0)
- Newtonsoft.Json (>= 13.0.1)
- RestSharp (>= 107.1.1)
- RestSharp.Serializers.NewtonsoftJson (>= 107.1.1)
- System.Reactive (>= 5.0.0)
- Websocket.Client (>= 4.4.43)
-
net6.0
- Guilded.Base (>= 0.6.0)
- Newtonsoft.Json (>= 13.0.1)
- RestSharp (>= 107.1.1)
- RestSharp.Serializers.NewtonsoftJson (>= 107.1.1)
- System.Reactive (>= 5.0.0)
- Websocket.Client (>= 4.4.43)
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 |