From c199fa205dbe2433d3e0130c1dbe873ced2bd940 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 30 Nov 2017 16:41:50 -0800 Subject: [PATCH] Fix `fact` command --- PBot/FactoidCommands.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PBot/FactoidCommands.pm b/PBot/FactoidCommands.pm index 115b12f7..34364f9a 100644 --- a/PBot/FactoidCommands.pm +++ b/PBot/FactoidCommands.pm @@ -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); }