3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-23 10:34:52 +01:00

Fix fact command

This commit is contained in:
Pragmatic Software 2017-11-30 16:41:50 -08:00
parent fa563391dd
commit c199fa205d

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);
}