From 7e9ee640382187645115598a4965e319faa05988 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Tue, 26 Jul 2016 13:51:20 -0400 Subject: Clarify the event handling will stop for Any other value --- docs/01-basics.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/01-basics.md b/docs/01-basics.md index 6c82572..3866bb1 100644 --- a/docs/01-basics.md +++ b/docs/01-basics.md @@ -70,7 +70,8 @@ handle it 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: it will be given to message object's `.reply` method if +* 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