diff options
authorZoffix Znet <cpan@zoffix.com>2016-07-26 13:51:20 -0400
committerZoffix Znet <cpan@zoffix.com>2016-07-26 13:51:20 -0400
commit7e9ee640382187645115598a4965e319faa05988 (patch)
parent63682618c3c0386ff03683f2a984533320115f9a (diff)
Clarify the event handling will stop for Any other value
1 files changed, 2 insertions, 1 deletions
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