This trigger type, will trigger when a user interacts with a button. This needs to be a button send by the bot!
Example of a button:
Use this syntax to let the bot trigger when the ID from a button is detected!
test -> If this is filled in in the trigger field, the command will trigger when the ID from the button is
button_1|button_2 -> If this is filled in in the trigger field, the command will trigger when the ID from the button is
All button IDs are caSe seNsiTiVe, so a if a command doesn't triggers, check the capitalization!
::: info Info Button and Dropdown triggertype uses regex to match the trigger field. So id with the same will interfere with each other. For Example:
- button 1 id = test
- button 2 id = testone
- button 2 could get triggered ,if you use menu 1 since it matches
Resolving the Problem
Just change your id to
^id$ In regex ^ and $ are used to match the start and end of the string. :::
$buttonIDreturns the button id
$buttonEmojireturns the button emoji
$buttonLabelreturns the button label
$buttonURLreturns the button url
$buttonStylereturns the button style
$buttonIsDisabledreturns true/false button disabled
Do you want to know more, about the bot's syntax? You can check out this page to learn more!