scheduledEvent := modify_scheduled_event(Args{server_id: trigger.server_id, event_id: "..."})
send_text_message(Args{
channel_id: trigger.channel_id,
message_content: "Event ID: " + scheduledEvent.event_id,
})
Inputs
Server IDRequired
Server the event belongs to.
Event IDRequired
ID of the scheduled event.
Name
New name for the scheduled event.
Description
New description for the event.
Start Time (Unix)
New start time as Unix timestamp.
Example: 1733030400
End Time (Unix)
New end time as Unix timestamp.
Example: 1733034000
Status
New status for the event.
OptionsScheduledActiveCompletedCanceled
Outputs
Event ID
ID of the scheduled event.
Server ID
ID of the server for the event.
Channel ID
Channel ID for Stage/Voice events.
Creator User ID
User ID of the event creator.
Name
Name of the scheduled event.
Description
Description of the scheduled event.
Start Time (Unix)
Start time as Unix timestamp.
End Time (Unix)
End time as Unix timestamp.
Status
Status of the scheduled event.
Type
Event type.
Subscribed User Count
Number of users subscribed to the event.
Build a bot using blocks like Modify Scheduled Event
Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.
Advanced Documentation
This documentation can be useful when using code mode. View as Markdown
ID:
modify_scheduled_eventInputs
| Field | InventScript name | Value |
|---|---|---|
| Server ID | server_id | |
| Event ID | event_id | |
| Name | name | |
| Description | description | |
| Start Time (Unix) | start_time_unix | e.g. "1733030400" |
| End Time (Unix) | end_time_unix | e.g. "1733034000" |
| Status | status | "Scheduled", "Active", "Completed", "Canceled" |
Outputs
| Field | InventScript name | Value |
|---|---|---|
| Event ID | event_id | |
| Server ID | server_id | |
| Channel ID | channel_id | |
| Creator User ID | creator_user_id | |
| Name | name | |
| Description | description | |
| Start Time (Unix) | start_time_unix | |
| End Time (Unix) | end_time_unix | |
| Status | status | |
| Type | type_ | |
| Subscribed User Count | subscribed_user_count |