Skip to content

Commit

Permalink
ignore commands to other bots
Browse files Browse the repository at this point in the history
  • Loading branch information
James S White committed Sep 3, 2014
1 parent 7957be1 commit ef10dbb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Jarvis/Persona/Crunchy.pm
Expand Up @@ -197,6 +197,7 @@ sub input{
$kernel->post($sender, 'authen', $msg);
last;
};
/^\s*!/ && do { last; }; # ignore any non !help line that starts with !
/(flip|should\s+(i|we))\s+(.*)\s+or\s+(.*)/i && do {
print STDERR "$1 , $2, [ $3, $4 ]\n";
my $range = 100;
Expand Down Expand Up @@ -253,8 +254,8 @@ sub input{
last;
}
};
/badger/ && do {
my $list = [
/badger/ && do {
my $list = [
"badger badger badger",
"badger badger badger",
"badger badger badger",
Expand Down

0 comments on commit ef10dbb

Please sign in to comment.