Author-Only Interactions
This article answers the frequently asked question "How do I make it so only the author can use button(s)/select menu(s)".
Adding `$authorID` to the `customID` (for buttons) or `value` (for select menus) fields makes it so you can check if the author is using the interaction or not with if statements.
Buttons Example
Using $addButton[]
:
Replying to the Interaction:
The 'name' property for the `buttonCommand` type shall not be used for author-only buttons.
Select Menu Example
Using $addSelectMenu[]
/$addSelectMenuOption[]
:
Replying to the Interaction:
Last updated