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
guildEventDiscordScheduledGuildEventThe event to modify.
mdlAction<ScheduledGuildEventEditModel>The action to perform on this event
reasonstringThe reason this event is being modified
Returns
- Task
The modified object