Tennu / tennu

IRC Bot Framework for Node.js
https://tennu.github.io/
ISC License
78 stars 14 forks source link

Add ignore specific plugins command feature #61

Closed VictorioBerra closed 9 years ago

VictorioBerra commented 9 years ago

]https://github.com/Tennu/tennu/issues/60#issuecomment-155360581

I have added the ability to pass an array to command-ignore-list, the array must have > 1 strings in it.

The first string is the command, and all subsequent strings are plugins that will have their attempts to register the command with tennu ignored.

To disable tennu-control say for example:

"command-ignore-list": [ [ "say", "control" ] ]
VictorioBerra commented 9 years ago

Okay, I have fixed the things you have noted. I assume when you said "This check should be done when reading the configuration file." you meant the location of "/src/lib/client.js" because that is where the first read of the config happens.