forked from GitHub/dbot
move charybdis module to atheme
This commit is contained in:
parent
8dfe1a37c4
commit
e83b4af33f
@ -4,7 +4,7 @@
|
||||
*/
|
||||
var _ = require('underscore')._;
|
||||
|
||||
var charybdis = function(dbot) {
|
||||
var atheme = function(dbot) {
|
||||
this.commands = {
|
||||
'~chanserv': function(event) {
|
||||
if(_.has(this.config.chanserv, event.input[1])) {
|
||||
@ -22,10 +22,10 @@ var charybdis = function(dbot) {
|
||||
}
|
||||
}
|
||||
};
|
||||
this.commands['~chanserv'].regex = [/^chanserv (\+.)/, 2]
|
||||
this.commands['~chanmode'].regex = [/^chanmode (\+.)/, 2]
|
||||
this.commands['~chanserv'].regex = [/^chanserv (\+.)/, 2];
|
||||
this.commands['~chanmode'].regex = [/^chanmode (\+.)/, 2];
|
||||
};
|
||||
|
||||
exports.fetch = function(dbot) {
|
||||
return new charybdis(dbot);
|
||||
return new atheme(dbot);
|
||||
};
|
Loading…
Reference in New Issue
Block a user