var trigger = stage_instance_update()
func main() {
send_text_message(Args{
channel_id: trigger.channel_id,
message_content: "Stage ID: " + trigger.stage_id,
})
}
Stage Instance Updated
Event triggerStage Instance
Triggered when a stage instance is updated.
Outputs
Stage ID
The ID of the stage instance
Example: 123456789012345678
Server ID
The ID of the server where the stage instance was updated
Example: 123456789012345678
Channel ID
The channel ID for the stage instance
Example: 234567890123456789
Topic
The topic of the stage
Example: Weekly community updates
Scheduled Event ID
Associated scheduled event ID, if any
Example: 345678901234567890
Build a bot using triggers like Stage Instance Updated
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
ID:
stage_instance_updateOutputs
| Field | InventScript name | Value |
|---|---|---|
| Stage ID | stage_id | e.g. "123456789012345678" |
| Server ID | server_id | e.g. "123456789012345678" |
| Channel ID | channel_id | e.g. "234567890123456789" |
| Topic | topic | e.g. "Weekly community updates" |
| Scheduled Event ID | scheduled_event_id | e.g. "345678901234567890" |