Interface ScheduledEventAction

All Superinterfaces:
AuditableRestAction<ScheduledEvent>, FluentAuditableRestAction<ScheduledEvent,ScheduledEventAction>, RestAction<ScheduledEvent>

public interface ScheduledEventAction extends FluentAuditableRestAction<ScheduledEvent,ScheduledEventAction>
Extension of RestAction specifically designed to create a ScheduledEvent. This extension allows setting properties such as the name or description of an event before it is created.

Requirements
Events that are created are required to have a name, a location, and a start time. Depending on the type of location provided, an event will be of one of three different Types:

  1. Type.STAGE_INSTANCE
    These events are set to take place inside of a StageChannel. The following permissions are required in the specified stage channel in order to create an event there:
  2. Type.VOICE
    These events are set to take place inside of a VoiceChannel. The following permissions are required in the specified voice channel in order to create an event there:
  3. Type.EXTERNAL
    These events are set to take place at an external location. Permission.MANAGE_EVENTS is required on the guild level in order to create this type of event. Additionally, an end time must also be specified.
See Also: