3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00
This commit is contained in:
reality 2013-07-04 22:36:37 +00:00
parent a821547838
commit f105afad17

View File

@ -144,10 +144,10 @@ var commands = function(dbot) {
}
// Add qutoe category documenting ban
if(this.config.document_bans && _.has(dbot.modules, 'quotes')) {
dbot.api.quotes.addQuote('ban_' + banee.toLowerCase(), quoteString, function() {});
notifyString += ' ' + dbot.t('quote_recorded', { 'user': banee });
}
//if(this.config.document_bans && _.has(dbot.modules, 'quotes')) {
// dbot.api.quotes.addQuote('ban_' + banee.toLowerCase(), quoteString, function() {});
// notifyString += ' ' + dbot.t('quote_recorded', { 'user': banee });
// }
// Notify moderators, banee
if(!_.isUndefined(adminChannel)) {