Fix `fact` command

This commit is contained in:
Pragmatic Software 2017-11-30 16:41:50 -08:00
parent fa563391dd
commit c199fa205d
1 changed files with 3 additions and 0 deletions

View File

@ -113,7 +113,10 @@ sub call_factoid {
}
$stuff->{keyword} = $trigger;
$stuff->{trigger} = $trigger;
$stuff->{ref_from} = $channel;
$stuff->{arguments} = $args;
$stuff->{root_keyword} = $trigger;
return $self->{pbot}->{factoids}->interpreter($stuff);
}