forked from GitHub/dbot
derp
This commit is contained in:
parent
0a212bab1d
commit
7517540cc5
@ -12,6 +12,9 @@ var command = function(dbot) {
|
||||
*/
|
||||
this.listener = function(event) {
|
||||
var commandName = event.params[0];
|
||||
if(commandName.charAt(0) != '~') {
|
||||
return;
|
||||
}
|
||||
if(!_.has(dbot.commands, commandName)) {
|
||||
if(_.has(dbot.modules, 'spelling')) {
|
||||
var commands = _.keys(dbot.commands)
|
||||
|
Loading…
Reference in New Issue
Block a user