Commands
Last updated
Last updated
When updating or creating a new command, you must restart your Discord.
The Commands page allows you to view and manage your custom commands for your bot. On this page, you can enable, disable, edit and create new custom commands to use with your BotWiz bot.
All of your custom commands are listed on this page under the commands section.
Each custom command you create will be displayed here, on the right side of the command panel, you will see some buttons. Here you can:
Enable/Disable the command.
Select a folder for the command.
Edit the command information.
If you have just created your bot, you will have no commands here by default. To create a new command you can click the box with the lable 'New Custom Command' as pictured below.
This will display a modal prompting you to enter a name, and description for your new command, as well as some check boxes to set it to ephemeral, or nsfw. Below you can find a breakdown of what each option means and how it affects the command.
The name you enter here, will be the phrase you use to trigger the command in discord using a / notion. For example I have a command named 'tester'. To run this command I would then use /tester
in a discord channel my bot has access to.
Due to discord limitations, a description for all commands is required. The description will be displayed under the / (slash) command popup in discord. It's best to pick a descriptive description so you and your members know exactly what the command does.
Option | Information |
---|---|
NSFW
Enabling this will make it so the command can only be seen in the slash commands context menu, and used in NSFW channels. You can read more about this here.
Ephemeral
Enabling this will make it so that all replies will be Ephemeral, meaning on the command interacting user (command user, or uer who clicks a button, select menu) can see the reply sent. This does not affect non reply messages.