Browse Source

Linkify Type Readers in Commands

pull/988/head
Hsu Still 7 years ago
parent
commit
8a7a066c8e
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
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

@@ -79,9 +79,9 @@ parent Task.

For example, to take an integer as an argument from the user, add `int
arg`; to take a user as an argument from the user, add `IUser user`.
In 1.0, a Command can accept nearly any type of argument; a full list
of types that are parsed by default can be found in the below section
on _Type Readers_.
Starting from 1.0, a Command can accept nearly any type of argument;
a full list of types that are parsed by default can be found in
the below section on [Type Readers](#type-readers).

Parameters, by default, are always required. To make a parameter
optional, give it a default value. To accept a comma-separated list,


Loading…
Cancel
Save