Browse Source

Fix broken markdown in command docs (#920)

I screwed up in ##826 and broke the `CommandAttribute` section.
tags/2.0.0-beta
Still Hsu Christopher F 7 years ago
parent
commit
39bddca5d1
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      docs/guides/commands/commands.md

+ 3
- 3
docs/guides/commands/commands.md View File

@@ -93,9 +93,9 @@ If you would like a parameter to parse until the end of a Command,
flag the parameter with the [RemainderAttribute]. This will allow a
user to invoke a Command without wrapping a parameter in quotes.

Finally, flag your Command with the [CommandAttribute] (you must
Finally, flag your Command with the [CommandAttribute]. (you must
specify a name for this Command, except for when it is part of a
Module Group - see below).
Module Group - see below)

[RemainderAttribute]: xref:Discord.Commands.RemainderAttribute
[CommandAttribute]: xref:Discord.Commands.CommandAttribute
@@ -340,4 +340,4 @@ and must be explicitly added.

To install a TypeReader, invoke [CommandService.AddTypeReader].

[CommandService.AddTypeReader]: xref:Discord.Commands.CommandService#Discord_Commands_CommandService_AddTypeReader__1_Discord_Commands_TypeReader_
[CommandService.AddTypeReader]: xref:Discord.Commands.CommandService#Discord_Commands_CommandService_AddTypeReader__1_Discord_Commands_TypeReader_

Loading…
Cancel
Save