Skip to main content

/commandbutton create

Admin Command

This command requires administrator permissions.

(BETA) Sends a button which triggers a command when clicked.

Usage​

/commandbutton create [command] (color) (emoji) (label)

Arguments​

  • command: (Required) Command to invoke.
  • color: (Optional) Color for the button.
        Options: blurple, gray, green, red
  • emoji: (Optional) Emoji to include in the button.
  • label: (Optional) Label for the button, defaults to the command name.

Details​

Posts a button in the current channel that runs the chosen command when someone clicks it. The button does not grant access: the person who clicks must be allowed to run that command (staff-only commands stay staff-only), otherwise they get a permission error. If the command has options, clicking opens a form asking for them; if it has none, the command runs immediately. The button keeps working until its message is deleted.

Required Permissions​

Permission Required

This command requires either:

  • A configured NeatQueue Staff Role
  • Manage Channels permission