Merge branch 'master' of r2-ap/shithead-ng into master

This commit is contained in:
Al Beano 2016-07-17 21:34:28 +00:00 committed by Gogs
commit 3a82a36a7c
1 changed files with 3 additions and 1 deletions

View File

@ -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