Table of Contents

Method TryGetGuildWidget

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

TryGetGuildWidget(ulong, out DiscordWidget?)

Tries to get a guild widget.

public bool TryGetGuildWidget(ulong id, out DiscordWidget? widget)

Parameters

id ulong

The Guild Id.

widget DiscordWidget

The widget, if found.

Returns

bool

True if the widget was found, otherwise false.