From 6757177c76d903614344b6c465a689b619a92d9d Mon Sep 17 00:00:00 2001 From: Andreas Scherbaum Date: Fri, 25 May 2012 21:10:41 +0200 Subject: [PATCH] - add documentation regarding adding new commands --- docbot.pl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docbot.pl b/docbot.pl index 07086b5..aaf207c 100755 --- a/docbot.pl +++ b/docbot.pl @@ -13,6 +13,19 @@ ########################################################### + +###################################################################### +# how to add new IRC command: +# - add the command in handle_command() +# - implement command handler function +# - add new statistic counter in init_statistics() +# - output command statistic in handle_command_status() +# - add the command to is_valid_command(), is_valid_operator_command() and/or is_valid_admin_command() +# - add any required translation to docbot.conf + + + + ###################################################################### # load modules ###################################################################### -- 2.39.5