Table of Contents

Method GetSystemChannelAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

GetSystemChannelAsync(bool)

Gets the channel where system messages (such as boost and welcome messages) are sent.

public Task<DiscordChannel?> GetSystemChannelAsync(bool skipCache = false)

Parameters

skipCache bool

If 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 configured system channel.