Table of Contents

Method GetPublicUpdatesChannelAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

GetPublicUpdatesChannelAsync(bool)

Gets the public updates channel (where admins and moderators receive messages from Discord) for this guild.

This is only available if the guild is considered "discoverable".

public Task<DiscordChannel?> GetPublicUpdatesChannelAsync(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 public updates channel configured