- add documentation regarding adding new commands
authorAndreas Scherbaum <andreas@scherbaum.biz>
Fri, 25 May 2012 19:10:41 +0000 (21:10 +0200)
committerAndreas Scherbaum <andreas@scherbaum.biz>
Fri, 25 May 2012 19:10:41 +0000 (21:10 +0200)
docbot.pl

index 07086b577e28d59b5c9a8bd3a1d806c7c1c9a70a..aaf207c794a96d11605d1cd29fb2a022a27d899d 100755 (executable)
--- a/docbot.pl
+++ b/docbot.pl
 ###########################################################
 
 
+
+######################################################################
+# 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
 ######################################################################