Method GetWidgetAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetWidgetAsync(CancellationToken)
Gets the guild's widget
public Task<DiscordWidget> GetWidgetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<DiscordWidget>
The guild's widget