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
ulongThe Guild Id.
widget
DiscordWidgetThe widget, if found.
Returns
- bool
True if the widget was found, otherwise false.