Table of Contents

Method GetGuildWidgetAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetGuildWidgetAsync(ulong)

Gets a guild widget.

public Task<DiscordWidget> GetGuildWidgetAsync(ulong id)

Parameters

id ulong

The Guild Id.

Returns

Task<DiscordWidget>

A guild widget.

Exceptions

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.