Channel Pins Update

Event triggerChannels

Triggers when a channel's pins are updated.

Outputs

Channel ID

The ID of the channel whose pins were updated

Example: 123456789012345678

Server ID

The ID of the server where the channel pins were updated

Example: 123456789012345678

Build a bot using triggers like Channel Pins 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_pins_update

Outputs

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

Example InventScript

var trigger = channel_pins_update()

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

More channels triggers