Custom commands

Bag has a simple and easy to use custom command system.

Adding a custom command

To add a custom command, do commands add <name> <content>.

If you did it correctly, the custom command should've been added.

Adding a custom command

You can also add new lines. Use \n to make a new line.

Example

If you did commands add MyCommand This is my command.\nAnd this is a new line!, there would be a new line after the word command.

You can also make the command trigger disappear after the command is ran. To do this, add \d to the end of the content of the command.

Example

If you did commands add MyCommand This is my command. The trigger of this command will disappear!\d, the command trigger would be deleted.

Running a custom command

To run a custom command, do <prefix><name>.

Hint

The <prefix> argument is the bot command prefix.

Command Description
commands add <name> <content> Add a custom command.
commands remove <name> Remove a custom command.
commands clear Remove all custom commands.
commands list List all custom commands.