3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 22:09:26 +01:00

MessageHistory: Increase in-channel recall message limit to ~5

This commit is contained in:
Pragmatic Software 2020-04-19 14:47:30 -07:00
parent 9576c20dc4
commit b007cb3b9d

View File

@ -342,7 +342,7 @@ sub recall_message {
if (not defined $context_account) { return "I don't know anybody named $recall_context."; }
}
if ($from =~ /^#/ and ($recall_count > 2 or $recall_after > 2 or $recall_before > 2)) {
if ($from =~ /^#/ and ($recall_count > 5 or $recall_after > 5 or $recall_before > 5)) {
return "Please use `recall` from private message when recalling multiple messages. Just add \"-c $from\" to the command and /msg it to me.";
}