docsFunctionsComponentsZremoveComponent

ZremoveComponent

Removes a specific component by its custom ID from a message, defaulting to the triggering message.

Syntax

ZremoveComponent{customID;messageID?}

Arguments

NameTypeRequiredDefault
customIDstringYes-
messageIDsnowflakeNo-

Example

ZremoveComponent{my_button;1234567890123456789}