custom add - shinyfinder/chatot-smogon GitHub Wiki
Availability: All Guilds
/custom add
Example:
/custom add
- Chatot: None
- Users: Manage Guild (Server) & Manage Roles
Summary: Adds a custom prefix command registered to the server.
Custom commands are prefix commands, which users can use by entering the command on its own line in the chat, i.e. !rule1
. Users are able to define custom snippets of text they can readily post with the bot. Custom commands can be used anywhere and by anyone in the guild in which they are registered, so try not to create commands that will be abused.
For customs to work, Chatot must have read and post message permissions in the channel in which the custom command is used.
Creation requires specifying a prefix (most special characters), a name, any aliases, and the text to print. A modal (popup) is used when adding a custom command, allowing users to format the text as they'd like (formatting options are the same as a normal Discord text box, except that you are free to enter line breaks). Command names and aliases (the text users enter into the chat to invoke it) must be unique, even if different prefixes are used. Multiple aliases can be set, each on their own line in the respective field.
If you wish to add an alias to an existing command, see custom edit.