Skip to content

Commit 052bcfe

Browse files
committed
add a .ddos command
1 parent 5fcf667 commit 052bcfe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cluebot.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ function on_trigger($source, $target, $message) {
230230
if (user_is_ignored($who))
231231
send("NOTICE", $srcnick, "$who is ignored by DaVinci.");
232232
break;
233+
case 'ddos':
234+
if (ischannel($target))
235+
send("KICK", $target, $srcnick, "Don't be a moron.");
236+
break;
233237
}
234238
}
235239

0 commit comments

Comments
 (0)