Rooms and commands

Share
Setting up the rooms and the / commands. · Last updated:

The rooms (Chat Rooms)

A room has a title, a description, an icon (the name of a Font Awesome icon, for example fa-comments or fa-headset; empty = default icon), an order and an enabled/disabled state. The selector of the list (tooltip Set … as the default room) sets the default room, which must be enabled. Deleting a room erases its messages, reactions, attachments, events and permissions: this cannot be undone (a confirmation is asked).

The commands (Chat commands)

For each command, you set:
  • the trigger (what the members type after the /, without the /) and its aliases;
  • the order in the menu and the description shown in the menu;
  • the options (accepted keywords, type, whether required, suggested values);
  • the text written after the command: Command first (the command runs, then the text is sent), Text first (the text is sent, then the command runs, so a command that deletes messages would delete it too), or no text allowed;
  • the confirmation with a summary, the announcement in the chat and the number of hours before it disappears (0 = it stays; the trace stays in the moderation log), the delay between two uses;
  • the limits of the command itself (for example 2,000 messages at most for /clear and /purge).
The permissions of each command are set in Chat command permissions: a group can use /ban without being able to use /clear.

You can add custom commands: Add command then the type Custom command (callback), where you give a Class :: method provided by an add-on. This feature is reserved for the administrators who manage the servers (it runs code).
Back
Top Bottom