forked from GitHub/dbot
Add dependency info [#187]
This commit is contained in:
parent
9ac8d3fd29
commit
2f2356f2fd
@ -1,5 +1,6 @@
|
||||
{
|
||||
"ignorable": false,
|
||||
"dbKeys": [ "bans" ],
|
||||
"dependencies": [ "command" ],
|
||||
"help": "http://github.com/reality/depressionbot/blob/master/modules/admin/README.md"
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"username": "youruserhere",
|
||||
"password": "yourpasswordhere",
|
||||
"dependencies": [ "command" ],
|
||||
"ignorable": true,
|
||||
"dentQuotes": false
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ var dent = function(dbot) {
|
||||
this.commands['~dent'].regex = [/^~dent (.+)$/, 2];
|
||||
|
||||
this.onLoad = function() {
|
||||
if(dbot.config.dent.dentQuotes === true) {
|
||||
if(dbot.config.dent.dentQuotes === true && _.has(dbot.modules, 'quotes')) {
|
||||
dbot.api.command.addHook('~qadd', function(key, text) {
|
||||
this.api.post(key + ': ' + text);
|
||||
}.bind(this));
|
||||
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"ignorable": true
|
||||
"ignorable": true,
|
||||
"dependencies": [ "command" ]
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"ignorable": false,
|
||||
"dependencies": [ "command" ],
|
||||
"dbKeys": [ "ignores" ],
|
||||
"help": "http://github.com/reality/depressionbot/blob/master/modules/ignore/README.md"
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
"disabled": true
|
||||
}
|
||||
},
|
||||
"dependencies": [ "command" ],
|
||||
"ignorable": true,
|
||||
"help": "http://github.com/reality/depressionbot/blob/master/modules/js/README.md"
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"dbKeys": [ "kicks", "kickers" ],
|
||||
"dependencies": [ "command" ],
|
||||
"help": "http://github.com/reality/depressionbot/blob/master/modules/kick/README.md",
|
||||
"ignorable": true
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"autoTitle": false,
|
||||
"dependencies": [ "command" ],
|
||||
"ignorable": true,
|
||||
"help": "http://github.com/reality/depressionbot/blob/master/modules/link/README.md"
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ var commands = function(dbot) {
|
||||
var key = event.input[1].trim().toLowerCase();
|
||||
if(_.has(quotes, key)) {
|
||||
var quote = quotes[key].pop();
|
||||
if(quotes[key].length === 0) {
|
||||
if(quotes[key].length == 0) {
|
||||
delete quotes[key];
|
||||
}
|
||||
this.internalAPI.resetRemoveTimer(event, key, quote);
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"dbKeys": [ "quoteArrs" ],
|
||||
"dependencies": [ "command" ]
|
||||
"rmLimit": 10,
|
||||
"ignorable": true,
|
||||
"help": "http://github.com/reality/depressionbot/blob/master/modules/quotes/README.md"
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"ignorable": true,
|
||||
"dependencies": [ "command", "users" ],
|
||||
"help": "http://github.com/reality/depressionbot/blob/master/modules/report/README.md"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user