mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-13 13:42:41 +01:00
factchange usage output appears in channge instead of /msg; aliased change to factchange
This commit is contained in:
parent
48e1c8c455
commit
e0a2fc25e8
@ -589,7 +589,7 @@ sub factchange {
|
||||
}
|
||||
|
||||
if(not defined $channel or not defined $changeto) {
|
||||
return "/msg $nick Usage: factchange <channel> <keyword> s/<pattern>/<replacement>/";
|
||||
return "Usage: factchange <channel> <keyword> s/<pattern>/<replacement>/";
|
||||
}
|
||||
|
||||
($channel, $trigger) = $self->{pbot}->factoids->find_factoid($channel, $keyword);
|
||||
|
@ -13,7 +13,7 @@ use warnings;
|
||||
# These are set automatically by the build/commit script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 198,
|
||||
BUILD_REVISION => 200,
|
||||
BUILD_DATE => "2010-06-22",
|
||||
};
|
||||
|
||||
|
@ -3488,10 +3488,10 @@ type: text
|
||||
action: /call factalias
|
||||
created_on: 1277259091.375
|
||||
enabled: 1
|
||||
last_referenced_on: 1277259146.81587
|
||||
last_referenced_on: 1277259441.23438
|
||||
owner: pbot3
|
||||
rate_limit: 15
|
||||
ref_count: 3
|
||||
ref_count: 4
|
||||
ref_user: pbot3
|
||||
type: text
|
||||
|
||||
@ -4411,6 +4411,17 @@ ref_count: 0
|
||||
ref_user: nobody
|
||||
type: text
|
||||
|
||||
<change>
|
||||
action: /call factchange
|
||||
created_on: 1277259441.33026
|
||||
enabled: 1
|
||||
last_referenced_on: 1277259445.87274
|
||||
owner: pbot3
|
||||
rate_limit: 15
|
||||
ref_count: 1
|
||||
ref_user: pbot3
|
||||
type: text
|
||||
|
||||
<changelist>
|
||||
action: http://code.google.com/p/pbot2-pl/source/list
|
||||
created_on: 1275818314
|
||||
@ -9884,7 +9895,7 @@ type: text
|
||||
|
||||
<version>
|
||||
action: /say PBot revision 198 2010-06-22
|
||||
created_on: 1277259006.35938
|
||||
created_on: 1277259434.96875
|
||||
enabled: 1
|
||||
last_referenced_on: 1277163757.64518
|
||||
owner: pbot3
|
||||
|
Loading…
Reference in New Issue
Block a user