Table of Contents

Method ModifyEventAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

ModifyEventAsync(DiscordScheduledGuildEvent, Action<ScheduledGuildEventEditModel>, string?)

Modifies an existing scheduled event in this guild.

public Task ModifyEventAsync(DiscordScheduledGuildEvent guildEvent, Action<ScheduledGuildEventEditModel> mdl, string? reason = null)

Parameters

guildEvent DiscordScheduledGuildEvent

The event to modify.

mdl Action<ScheduledGuildEventEditModel>

The action to perform on this event

reason string

The reason this event is being modified

Returns

Task

The modified object

Exceptions

ArgumentException