Skip to content

Commit 3bc8f10

Browse files
committed
Docs update
1 parent d9a8831 commit 3bc8f10

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* [Commands with alias](#commands-with-alias)
1919
* [Commands with usage info](#commands-with-usage-info)
2020
* [Commands with regex validation](#commands-with-regex-validation)
21+
* [Commands with multiple validations](#commands-with-multiple-validations)
2122
* [Command invocation deletion](#command-invocation-deletion)
2223
* [Example handling messages across multiple files](#example-handling-messages-across-multiple-files)
2324
* [Case sensitivity](#case-sensitivity)
@@ -105,16 +106,15 @@ handler
105106
})
106107
```
107108

108-
### Commands with channel validation
109-
### Also with multiple error messages
109+
### Commands with multiple validations
110110

111111
In this version, you can chain commands and give whenInvalid an object with multiple parameters.
112-
They will be validate in the following order:
112+
They will be validated in the following order:
113113
1. allowedChannels
114114
2. minimumArguments
115115
3. regularExpression
116116

117-
You can also pass in a boolean when you want to send it to a user or a channel. Standard will be a reply in the channel.
117+
You can also pass in a flag when you want to send it to a user or a channel. Standard will be a reply in the channel.
118118

119119

120120
```js

0 commit comments

Comments
 (0)