# Modify Scheduled Event

> Modify a scheduled event.

- ID: `modify_scheduled_event`
- Type: Block
- Category: [Scheduled Event](https://inventor.bot/docs/reference/blocks/scheduled-event.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `server_id` | yes | Server the event belongs to. |  |
| `event_id` | yes | 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. | e.g. `"1733030400"` |
| `end_time_unix` |  | New end time as Unix timestamp. | e.g. `"1733034000"` |
| `status` |  | New status for the event. | `"Scheduled"`, `"Active"`, `"Completed"`, `"Canceled"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `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. |  |

**Example**

```go
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,
})
```