Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.03 KB

GuildedSharp

A library for connecting to the Guilded official API with a bot account. Http is only supported atm, websocket will be coming soon.

You can check out my Guilded Server or visit our Website

Bot Access

This library is only used for the official API and will never support userbots or abuse.

You need to apply for beta access to get full bot accounts Apply Here

Install

You can install the nuget package here to use the API https://www.nuget.org/packages/GuildedSharp

Here is an example of how to use it.

static void Main(string[] args)
{
    Start().GetAwaiter().GetResult();
}

public static GuildedClient Client;

public static async Task Start()
{
    Client = new GuildedClient(ClientMode.Websocket, "Bot Token");
           
    await Client.Rest.SendMessageAsync("Channel ID", "Message here :D");
           
    await Task.Delay(-1);
}