Creating simple chat command

Video tutorial is available:

Start by creating a new automation. Select Chat Command as trigger.

  • Optionally select your Guild / Server (if you don't select it, the command will be available to all guilds that contain your bot). Please note that if you don't select a guild, the command could take up to an hour to become available to everyone (that is due to the way Discord synchronizes commands)

  • Enter name of the command (this is what you will be using in Discord when you type /command-name)

  • Enter a Description (this is shown in Discord when selecting the command)

  • Select Permissions that will be required to use the command (the command is available to everyone if no permissions are selected). You can also limit access to only Administrators and later assign roles to the command (you can only do this from within Server Settings in Discord - go to Server settings -> Integrations -> Bot name -> Commands)

Now we can send a reply whenever someone uses this command. Click on + to add a step and select Reply to interaction. When a user uses the command we call that an interaction.

Select Trigger > Interaction as Interaction.

Ephemeral messages are only seen by the user that used the command. If you select No, the reply is seen by everyone that can access the channel where the user used the command.

Enter some text into the Content field and click Create button to create the automation.

Last updated