From 99eee13297570f3cf2897183e7d1c8f51276c61a Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Fri, 29 Jul 2016 10:09:04 -0400 Subject: Moar docs --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e0b0940..7291c16 100644 --- a/README.md +++ b/README.md @@ -14,15 +14,15 @@ IRC::Client - Extendable Internet Relay Chat client :host :channels<#perl6bot #zofbot> :debug - :plugins[ + :plugins( class { method irc-to-me ($ where /hello/) { 'Hello to you too!'} } - ] - :filters[ + ) + :filters( -> $text where .chars > 200 { 'The output is too large to show here. See: ' ~ Pastebin::Shadowcat.new.paste: $text; } - ]; + ); ``` # DESCRIPTION -- cgit v1.1