Skip to content

    Action

    Create and manage actions that run when a component is used.

    <> means an argument is required, [] means it's optional

    An action is a named piece of behaviour that runs when someone uses a component — for example sending a response, adding a role, or nuking a channel. You attach actions to buttons and menus.

    List actions

    Show every action in this server. Running /action on its own does the same thing.

    Syntax
    /action list

    Create an action

    Add a new named action.

    Syntax
    /action create <name>
    ArgumentTypeRequiredDescription
    nametextrequiredThe name you want to give the action.

    Counts toward your server's action limit. See Premium.

    Edit an action

    Change what an existing action does.

    Syntax
    /action edit <name>
    ArgumentTypeRequiredDescription
    nametextrequiredThe name of the action you want to edit.

    Delete an action

    Permanently remove an action.

    Syntax
    /action delete <name>
    ArgumentTypeRequiredDescription
    nametextrequiredThe name of the action you want to delete.

    What actions can do

    ActionParametersResult
    send_messageresponse_nameSends a message