aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2018-01-23 20:44:15 -0300
committerMatias Linares <matiaslina@openmailbox.org>2018-01-23 20:44:15 -0300
commit43f17e1e6db343a35ae40bf937e970c85d7f295f (patch)
treef31f4ccd7440268259077a57dd620dec4fdf77f5 /examples
parentae68b25cc8c5888b5c1951b3f9a4bc6481a90a9e (diff)
downloadperl6-matrix-client-43f17e1e6db343a35ae40bf937e970c85d7f295f.tar.gz
Don't use parse-names in examples.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/bot.p66
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 }
}
};