custom remove - shinyfinder/chatot-smogon GitHub Wiki

Usage

Availability: All Guilds

/custom remove <name>

  • name: Unique identifier for the command (exclude the prefix)

Example:

/custom remove name:rule1

Permissions

  • Chatot: None
  • Users: Manage Guild (Server) & Manage Roles

Description

Summary: Removes a custom prefix command/alias 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.

This command deletes the provided custom command and/or alias(es). For example, if you have a command that users enter !rule1 into the chat to use, the name field is rule1. Custom commands registered to the server can be retrieved with /custom list. Although /custom list provides both the prefix and command name, please exclude the prefix when entering the name. For convenience, the name field autocompletes with the custom commands registered to the server (type to search).

Removing a command with registered aliases will also remove all of its aliases. Users are prompted to confirm their actions in these scenarios. No confirmation is given when deleting a command without aliases or when deleting an alias. If you wish to rename a command, see /custom edit.

⚠️ **GitHub.com Fallback** ⚠️