Method ModifyScheduledGuildEventAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
ModifyScheduledGuildEventAsync(ulong, ulong, Action<ScheduledGuildEventEditModel>)
Modify a scheduled guild event.
public Task<DiscordScheduledGuildEvent> ModifyScheduledGuildEventAsync(ulong guildId, ulong eventId, Action<ScheduledGuildEventEditModel> mdl)
Parameters
guildId
ulongThe ID of the guild the event resides on.
eventId
ulongThe ID of the event to modify.
mdl
Action<ScheduledGuildEventEditModel>The action to apply to the event.
Returns
- Task<DiscordScheduledGuildEvent>
The modified event.