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
DiscordScheduledGuildEventThe event to modify.
mdl
Action<ScheduledGuildEventEditModel>The action to perform on this event
reason
stringThe reason this event is being modified
Returns
- Task
The modified object
Exceptions
- ArgumentException