From c30057d4807082a638b32f5396d4611e7356da02 Mon Sep 17 00:00:00 2001 From: Al Beano Date: Wed, 6 Jul 2016 14:56:00 +0100 Subject: [PATCH 1/2] support for remote redis server, AUTH From 9376dbdcc7e45be0500d43525656bd58b272d7cf Mon Sep 17 00:00:00 2001 From: Aero Date: Sun, 17 Jul 2016 17:29:02 -0400 Subject: [PATCH 2/2] Added response to "wew" --- MarkovBot.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MarkovBot.pl b/MarkovBot.pl index a8e7cc4..c57d196 100644 --- a/MarkovBot.pl +++ b/MarkovBot.pl @@ -46,7 +46,9 @@ sub said { return; } - + if ($msg->{body} eq 'wew') { + $self->say(channel => $irc_chan, body => "lad"); + } my $chattiness = $redis->get("$redis_prefix:chattiness"); if (rand 100 < $chattiness) { # generate a shitpost