mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 04:22:35 +01:00
Update actiontrigger
private message help text (#28)
This commit is contained in:
parent
987f3a4d6a
commit
89ea114dd5
@ -282,7 +282,11 @@ sub actiontrigger {
|
||||
}
|
||||
|
||||
default {
|
||||
$result = "Usage: actiontrigger list [channel] | actiontrigger add <level> <regex> <trigger> | actiontrigger delete <regex>";
|
||||
if ($from !~ m/^#/) {
|
||||
$result = "Usage from private message: actiontrigger list [channel] | actiontrigger add <channel> <level> <regex> <trigger> | actiontrigger delete <channel> <regex>";
|
||||
} else {
|
||||
$result = "Usage: actiontrigger list [channel] | actiontrigger add <level> <regex> <trigger> | actiontrigger delete <regex>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user