var trigger = guild_update()
func main() {
send_text_message(Args{
channel_id: "CHANNEL_ID",
message_content: "Server ID: " + trigger.server_id,
})
}
Outputs
Server ID
The ID of the server that was updated
Example: 123456789012345678
Server Name
The name of the server that was updated
Example: My Server
Build a bot using triggers like Server Update
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:
guild_updateOutputs
| Field | InventScript name | Value |
|---|---|---|
| Server ID | server_id | e.g. "123456789012345678" |
| Server Name | server_name | e.g. "My Server" |