3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-22 18:52:40 +01:00

Factoids: factadd: include contents for factlog

This commit is contained in:
Pragmatic Software 2022-12-31 14:55:48 -08:00
parent ad449ff07b
commit 55407ce800
2 changed files with 3 additions and 3 deletions

View File

@ -814,7 +814,7 @@ sub cmd_factadd {
$self->{pbot}->{logger}->log("$context->{hostmask} added [$from_chan] $keyword_text => $text\n");
$self->log_factoid($from_chan, $keyword, $context->{hostmask}, "created");
$self->log_factoid($from_chan, $keyword, $context->{hostmask}, "created: $text");
return "/say $keyword_text added to " . ($from_chan eq '.*' ? 'global channel' : $from_chan) . ".";
}

View File

@ -25,8 +25,8 @@ use PBot::Imports;
# These are set by the /misc/update_version script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 4597,
BUILD_DATE => "2022-12-25",
BUILD_REVISION => 4598,
BUILD_DATE => "2022-12-31",
};
sub initialize {}