From 25e09e34804d5545aea36c2e79636fd2aad8a7c6 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 21 Feb 2020 13:42:47 -0800 Subject: [PATCH] FactoidCommands: prefix `factalias` return with "/say" --- PBot/FactoidCommands.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/FactoidCommands.pm b/PBot/FactoidCommands.pm index b54a9582..45e9575d 100644 --- a/PBot/FactoidCommands.pm +++ b/PBot/FactoidCommands.pm @@ -734,7 +734,7 @@ sub factalias { $self->{pbot}->{factoids}->add_factoid('text', $chan, "$nick!$user\@$host", $alias, "/call $command"); $self->{pbot}->{logger}->log("$nick!$user\@$host [$chan] aliased $alias => $command\n"); $self->{pbot}->{factoids}->save_factoids(); - return "$alias aliases `$command` for " . ($chan eq '.*' ? 'the global channel' : $chan); + return "/say $alias aliases `$command` for " . ($chan eq '.*' ? 'the global channel' : $chan); } sub add_regex {