Method GetWidgetChannelAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetWidgetChannelAsync(bool)
Gets the widget channel for this guild.
public Task<DiscordChannel?> GetWidgetChannelAsync(bool skipCache = false)
Parameters
skipCache
boolIf set to true this method will skip all caches and always perform a rest api call
Returns
- Task<DiscordChannel>
Returns null if the guild has no widget channel configured.