Command Block

Command Block

Command block is the starting point for each command you'll do.

To set a name for your command, you will need to add a text block and link it to the command name.

If you want a custom prefix for this specific command, you can also add a text block and link it to the custom prefix.

The slow mode : however, doesn't work right now as of Version 0.3.2.

Command restriction : you can set where and who can use the command.

None : does not restrict the command, and you can use it either in bot DMs or server text channels.

Server only: restricts the command to the server text channels.

Server owner , only the server owner can use the command.

DMs Only , the command can only be used in bot DMs.

Required member permission : if you select one of these options, only those with that permission can use the command.

Case sensitive : if yes is selected, the command would work no matter what case your text is.

For example: If you capitalized the text of your command name and set the case sensitive's option to NO, typing it in lowercase won't trigger the command.

But if set to yes, typing it in lower/uppercase (or a mix of both) will still trigger the command

Action : After typing the command, this will run the next block it is linked to. You need to link this to the next block you will add. Also, make sure not to double link! Action lines must be linear!

Action error : if there is a restriction or required member permission, if the user does not meet the requirements, this action error will run instead of the action above.

Message : in most cases, you'll often use these two blocks: "get message arguments" and "get message info." In this output, you can get the server , message author user / member , text content , and more!

Channel : this will always be the text channel (or bot DM channel), and why? Because you can't type commands in voice channels. The blocks you'll use here are usually "send message" and "get text channel info."

Here is where you connect your "send message" block _ *IF _ you want to send it to the same channel where your command got used.

User : The user or the person who did the command. "get user info" is what you'll need here.