mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
re-add ~quote syntax
This commit is contained in:
parent
ba72fa9aad
commit
6b6907fe7b
@ -14,11 +14,11 @@ var command = function(dbot) {
|
||||
this.listener = function(event) {
|
||||
var commandName = event.params[0];
|
||||
if(!_.has(dbot.commands, commandName)) {
|
||||
/*if(_.has(dbot.modules, 'quotes')) {
|
||||
if(_.has(dbot.modules, 'quotes')) {
|
||||
commandName = '~';
|
||||
} else {*/
|
||||
} else {
|
||||
return;
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
if(this.api.isBanned(event.user, commandName)) {
|
||||
|
Loading…
Reference in New Issue
Block a user