var trigger = invite_delete()
func main() {
send_text_message(Args{
channel_id: trigger.channel_id,
message_content: "Server ID: " + trigger.server_id,
})
}
Outputs
Server ID
The server where the invite was deleted
Example: 123456789012345678
Invite Code
The invite code that was deleted
Example: abc123
Channel ID
The channel the invite was associated with
Example: 345678901234567890
Build a bot using triggers like Invite Deleted
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:
invite_deleteOutputs
| Field | InventScript name | Value |
|---|---|---|
| Server ID | server_id | e.g. "123456789012345678" |
| Invite Code | invite_code | e.g. "abc123" |
| Channel ID | channel_id | e.g. "345678901234567890" |