Webhook Update

Event triggerServers

Triggers when a webhook is updated.

Outputs

Channel ID

The ID of the channel whose webhook was updated

Example: 123456789012345678

Server ID

The ID of the server where the webhook was updated

Example: 123456789012345678

Build a bot using triggers like Webhook 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: webhook_update

Outputs

FieldInventScript nameValue
Channel IDchannel_ide.g. "123456789012345678"
Server IDserver_ide.g. "123456789012345678"

Example InventScript

var trigger = webhook_update()

func main() {
	send_text_message(Args{
		channel_id:      trigger.channel_id,
		message_content: "Channel ID: " + trigger.channel_id,
	})
}

More servers triggers