plural /quotes?/ now accepted for zapp
parent
e74ddda437
commit
edef956fd0
|
@ -7,7 +7,7 @@ triggers any => "zapp", "brannigan";
|
|||
zci is_cached => 0;
|
||||
|
||||
handle query => sub {
|
||||
return if $_ !~ m/quote/;
|
||||
return if $_ !~ m/quotes?/;
|
||||
my @quotes = share('quotes.txt')->slurp;
|
||||
my $rand = int(rand(scalar(@quotes)));
|
||||
my $quote = $quotes[$rand];
|
||||
|
|
Loading…
Reference in New Issue