Add jan6 block

This commit is contained in:
minerobber 2018-12-23 19:59:34 +00:00
parent 041125e29f
commit fad0da2ff9
1 changed files with 3 additions and 0 deletions

3
bot.py
View File

@ -27,6 +27,9 @@ class MinerbotPhoenix(teambot.Handler):
cmd = args.pop(0).lower()
self.cmd = cmd
if cmd in plugin.cmds:
if self.event.source.userhost == "~jan6@127.0.0.1":
self.say(channel,nick+": no u infinity")
return
try:
plugin.cmds[cmd](self,channel,nick,*args)
except TypeError: