3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 12:12:35 +01:00

more syntax

This commit is contained in:
reality 2018-02-16 13:30:56 +00:00
parent 58256a8f62
commit 3b6dd18611

View File

@ -18,11 +18,11 @@ var kill_namespam = function(dbot) {
});
switch(this.config.action) {
case kickban:
case 'kickban':
dbot.api.kick.ban(event.server, event.host, event.channel);
dbot.api.kick.kick(event.server, event.user, message);
break;
case kill:
case 'kill':
dbot.api.kick.kill(event.server, event.user, message);
default: break;
}