Skip to main content
discord.updateScheduledEvent updates a Discord scheduled event’s details or status.
automations/discord-update-scheduled-event.automation.ts

Inputs

Required server and event IDs. Optional name, description, channel, entity type, location, start/end times, status, and audit-log reason. When you supply both times, the end must be after the start. Optional second argument { account } selects the Discord binding.

Output

Returns the updated DiscordScheduledEvent.

Discord behavior

Requires MANAGE_EVENTS. Changes to type-dependent fields, either timestamp, or status first read the event so Automate.ax can validate the complete resulting event. Changing entityType to external also requires location and scheduledEndTime; the action clears channelId. Changing it to voice or stage requires channelId, cannot set location, and clears external location metadata. Status can move from scheduled to active or canceled, and from active to completed.