Author-Only Interactions
Buttons Example
bot.commands.add({
type: "basicCommand",
name: "button",
code: `$addActionRow
Button!
$addButton[button1_$authorID;Click Me OwO;primary]`
})bot.commands.add({
type: "buttonCommand",
code: `$if[$interactionID==button1_$authorID;$updateInteraction
Hello World!
;$if[$includes[$interactionID;button1]==true;:x: You're not the author of this button! $ephemeral;]]`
})Select Menu Example
Last updated
Was this helpful?