mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-19 23:10:44 +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;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub func_help($self, $func) {
|
sub func_help($self, $func = undef) {
|
||||||
if (not length $func) {
|
if (not length $func) {
|
||||||
return "func: invoke built-in functions; usage: func <keyword> [arguments]; to list available functions: func list [regex]";
|
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
|
# These are set by the /misc/update_version script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 4752,
|
BUILD_REVISION => 4753,
|
||||||
BUILD_DATE => "2024-04-29",
|
BUILD_DATE => "2024-05-09",
|
||||||
};
|
};
|
||||||
|
|
||||||
sub initialize {}
|
sub initialize {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user