diff --git a/docs/api.md b/docs/api.md index 379fa115b..0e09d2da7 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1691,6 +1691,8 @@ the event will be called `"chat:name"`, with name being the name passed returns a number which can be used with bot.removeChatPattern() to only delete this pattern +- :eyes: cf. [examples/chat_parsing](https://github.com/PrismarineJS/mineflayer/blob/master/examples/chat_parsing.js#L17-L36) + #### bot.addChatPatternSet(name, patterns, chatPatternOptions) make an event that is called every time all patterns havee been matched to messages, @@ -1703,6 +1705,8 @@ the event will be called `"chat:name"`, with name being the name passed returns a number which can be used with bot.removeChatPattern() to only delete this patternset +- :eyes: cf. [examples/chat_parsing](https://github.com/PrismarineJS/mineflayer/blob/master/examples/chat_parsing.js#L17-L36) + #### bot.removeChatPattern(name) removes a chat pattern(s)