Bug 134600: Add some more modules to the default set.
git-svn-id: svn://10.0.0.236/trunk@147545 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -200,7 +200,13 @@ To load modules is easy.
|
||||
/msg mozbot load module
|
||||
|
||||
...where "module" is a module name, such as "HelloWorld" (note that
|
||||
the ".bm" extension is not included).
|
||||
the ".bm" extension is not included). By default, the General,
|
||||
Greeting, Infobot and Parrot modules are loaded. The General module
|
||||
provides the 'help' command and responds to CTCP VERSION messages. The
|
||||
Greeting module responds to greetings and generally tries to be
|
||||
friendly. The Infobot module provides information storage and
|
||||
retrieval functions. The Parrot module lets an admin control the bot
|
||||
much like a puppet.
|
||||
|
||||
By default, modules will be enabled in all channels. See the
|
||||
"variables" section below to change this.
|
||||
|
||||
@@ -193,7 +193,7 @@ my $variablepattern = '[-_:a-zA-Z0-9]+';
|
||||
my %users = ('admin' => &newPassword('password')); # default password for admin
|
||||
my %userFlags = ('admin' => 3); # bitmask; 0x1 = admin, 0x2 = delete user a soon as other admin authenticates
|
||||
my $helpline = 'see http://www.mozilla.org/projects/mozbot/'; # used in IRC name and in help
|
||||
my @modulenames = ('General');
|
||||
my @modulenames = ('General', 'Greeting', 'Infobot', 'Parrot');
|
||||
|
||||
# - which variables can be saved.
|
||||
®isterConfigVariables(
|
||||
|
||||
Reference in New Issue
Block a user