diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2018-01-23 20:44:15 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2018-01-23 20:44:15 -0300 |
commit | 43f17e1e6db343a35ae40bf937e970c85d7f295f (patch) | |
tree | f31f4ccd7440268259077a57dd620dec4fdf77f5 /examples | |
parent | ae68b25cc8c5888b5c1951b3f9a4bc6481a90a9e (diff) | |
download | perl6-matrix-client-43f17e1e6db343a35ae40bf937e970c85d7f295f.tar.gz |
Don't use parse-names in examples.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/bot.p6 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/bot.p6 b/examples/bot.p6 index aa55fd8..2656770 100755 --- a/examples/bot.p6 +++ b/examples/bot.p6 @@ -77,12 +77,6 @@ sub MAIN(Str:D $username, Str:D $password, :$home-server = "https://matrix.depre say "Someone is saying hi!"; "Hello @ {DateTime.now}" } - when /poop/ { - parse-names "PILE OF POO" - } - when /wink/ { - parse-names "WINKING FACE" - } default { say "Dunno what's telling me"; Str } } }; |