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
ulongThe guild ID to modify.
action
Action<WelcomeScreenEditModel>Action to perform.
reason
stringThe audit log reason for this action.
Returns
- Task<DiscordGuildWelcomeScreen>
The modified welcome screen.