mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 10:29:30 +01:00
MessageHistory: Increase in-channel recall
message limit to ~5
This commit is contained in:
parent
9576c20dc4
commit
b007cb3b9d
@ -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.";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user