diff --git a/_api/commands.md b/_api/commands.md index 5a270d1d..86df89e3 100644 --- a/_api/commands.md +++ b/_api/commands.md @@ -9,9 +9,11 @@ The Command API lets you add new commands. ## Methods -### `#add(command: Object)` +### `#add(commandText: string, command: Object)` -Adds a new command. +Registers a new command for users on the lounge. + +`commandText` is what the users will type after `/`, and command is the command object. Attributes of command: