Thread Update

Event triggerThreads

Triggers when a thread is updated.

Outputs

Thread ID

ID of the thread that was updated.

Example: 123456789012345678

Thread Name

Name of the thread after the update.

Example: general-thread

Server ID

ID of the server where the thread was updated.

Example: 345678901234567890

Parent ID

ID of the parent channel.

Example: 234567890123456789

Build a bot using triggers like Thread 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: thread_update

Outputs

FieldInventScript nameValue
Thread IDthread_ide.g. "123456789012345678"
Thread Namethread_namee.g. "general-thread"
Server IDserver_ide.g. "345678901234567890"
Parent IDparent_ide.g. "234567890123456789"

Example InventScript

var trigger = thread_update()

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

More threads triggers