From b44c8425ae1d8cde9907723e99960fa4a72be38a Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Tue, 26 Jul 2016 13:51:39 -0400 Subject: Grammar and formatting --- docs/01-basics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/01-basics.md b/docs/01-basics.md index 3866bb1..ddc69da 100644 --- a/docs/01-basics.md +++ b/docs/01-basics.md @@ -64,13 +64,13 @@ event handlers should be tried. Here are the things your event handler can return: -* Value of `$.NEXT`: pass the event to next plugin or event handler than can +* Value of `$.NEXT`: pass the event to the next plugin or event handler than can handle it * `Nil`: do not reply to the message, but do not pass the event to any other event handler; we handled it * `Promise`: when the Promise is `.kept`, use its value for the .reply, unless it's a `Nil`. **Note:** you cannot return `$.NEXT` here. -* Any other value: mark the event as handled and don't pass it further. The +* *Any other value*: mark the event as handled and don't pass it further. The returned value will be given to message object's `.reply` method if it has one, or ignored if it doesn't. For `irc-to-me` message objects, this means the value will be sent back to the sender of the original message -- cgit v1.1