diff --git a/docs/features/commands.rst b/docs/features/commands.rst index 157292925..247e017d3 100644 --- a/docs/features/commands.rst +++ b/docs/features/commands.rst @@ -9,6 +9,7 @@ In order to create a command, you have to add a CommandService to the client. CommandService takes a CommandServiceConfig object as its parameter. Inside CommandServiceConfig you can setup your CommandChar(s) and HelpMode. Example (CommandService creation) +---------------- .. literalinclude:: /samples/command_service_creation.cs :language:csharp6 @@ -23,7 +24,7 @@ Example (Command creation) :language: csharp6 :tab-width: 2 -If you have, or plan to have multiple commands that could be fit in a certain "group", you should use Command Groups. Command Groups can have same prefix for a group of commands, followed by a prefix for a certain command. +If you have, or plan to have multiple commands that could be fit in a certain "group", you should use Command Groups. Command Groups can have same prefix for a group of commands, followed by a prefix for a certain command. In the following example, we will move our 'greet' command to the group called "do", and add another command 'bye'. Example (CommandGroup creation) ----------------