Table of Contents

Method ModifyGuildWelcomeScreenAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

ModifyGuildWelcomeScreenAsync(ulong, Action<WelcomeScreenEditModel>, string)

Modifies a guild's welcome screen.

public Task<DiscordGuildWelcomeScreen> ModifyGuildWelcomeScreenAsync(ulong guildId, Action<WelcomeScreenEditModel> action, string reason = null)

Parameters

guildId ulong

The guild ID to modify.

action Action<WelcomeScreenEditModel>

Action to perform.

reason string

The audit log reason for this action.

Returns

Task<DiscordGuildWelcomeScreen>

The modified welcome screen.