Channel Update

Event triggerChannels

Triggers when a channel is updated.

Outputs

Channel ID

The ID of the channel that was updated

Example: 123456789012345678

Channel Name

The name of the channel that was updated

Example: general

Server ID

The ID of the server where the channel was updated

Example: 123456789012345678

Build a bot using triggers like Channel 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: channel_update

Outputs

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

Example InventScript

var trigger = channel_update()

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

More channels triggers