mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 03:02:47 +01:00
Functions: fix help
function signature
This commit is contained in:
parent
40aa37bc7c
commit
c62b6b9a75
@ -86,7 +86,7 @@ sub func_list($self, $regex = '.*') {
|
||||
return $result;
|
||||
}
|
||||
|
||||
sub func_help($self, $func) {
|
||||
sub func_help($self, $func = undef) {
|
||||
if (not length $func) {
|
||||
return "func: invoke built-in functions; usage: func <keyword> [arguments]; to list available functions: func list [regex]";
|
||||
}
|
||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
||||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4752,
|
||||
BUILD_DATE => "2024-04-29",
|
||||
BUILD_REVISION => 4753,
|
||||
BUILD_DATE => "2024-05-09",
|
||||
};
|
||||
|
||||
sub initialize {}
|
||||
|
Loading…
Reference in New Issue
Block a user