mongblocker

This commit is contained in:
Christine Dodrill 2015-11-04 10:26:40 -08:00
parent 739165cac2
commit c1f2a77031
1 changed files with 6 additions and 0 deletions

6
plugins/mongblocker.py Normal file
View File

@ -0,0 +1,6 @@
from util import hook
@hook.regex("\x07")
def kickbell(line, input=None, conn=None):
conn.msg("ChanServ", "KICK " + input.params.split()[0] + " " + input.nick + " You have won the no-bell peace prize")
input.notice("Please do not send the bell character to " + input.params.split()[0] + ". You have just disrupted the experience for a lot of people.")