mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
FactoidCommands: prefix factalias
return with "/say"
This commit is contained in:
parent
b5ddfc66f9
commit
25e09e3480
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user