mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
17 lines
387 B
JavaScript
17 lines
387 B
JavaScript
/**
|
|
* Module Name: Admin
|
|
* Description: Set of commands which only one who is a DepressionBot
|
|
* administrator can run - as such, it has its own command execution listener.
|
|
*/
|
|
var fs = require('fs'),
|
|
_ = require('underscore')._;
|
|
|
|
var admin = function(dbot) {
|
|
this.name = 'admin';
|
|
this.ignorable = false;
|
|
};
|
|
|
|
exports.fetch = function(dbot) {
|
|
return new admin(dbot);
|
|
};
|