var trigger = guild_scheduled_event_update()
func main() {
send_text_message(Args{
channel_id: trigger.channel_id,
message_content: "Event ID: " + trigger.event_id,
})
}
Guild Scheduled Event Update
Triggered when a guild scheduled event is updated.
Outputs
Scheduled event ID.
Example: 123456789012345678
ID of the server for the event.
Example: 123456789012345678
Channel ID for Stage/Voice events.
Example: 234567890123456789
User ID of the event creator.
Example: 345678901234567890
Name of the scheduled event.
Example: Community Call
Description of the scheduled event.
Example: Weekly community sync
Start time as Unix timestamp.
Example: 1700000000
End time as Unix timestamp.
Example: 1700003600
Status of the scheduled event.
Example: Active
Event type.
Example: Stage Instance
Number of users subscribed to the event.
Example: 42
Use this trigger 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
guild_scheduled_event_updateOutputs
| Field | InventScript name | Value |
|---|---|---|
| Event ID | event_id | e.g. "123456789012345678" |
| Server ID | server_id | e.g. "123456789012345678" |
| Channel ID | channel_id | e.g. "234567890123456789" |
| Creator User ID | creator_user_id | e.g. "345678901234567890" |
| Name | name | e.g. "Community Call" |
| Description | description | e.g. "Weekly community sync" |
| Start Time (Unix) | start_time_unix | e.g. "1700000000" |
| End Time (Unix) | end_time_unix | e.g. "1700003600" |
| Status | status | e.g. "Active" |
| Type | type_ | e.g. "Stage Instance" |
| Subscribed User Count | subscribed_user_count | e.g. "42" |