ircbot/guiniol.py

16 lines
297 B
Python
Raw Permalink Normal View History

2022-10-21 22:09:55 +00:00
client = None
def mod_init(cl):
global client
client = cl
def on_pubchat(who, chan, msg):
if who.split('!')[0] == 'guiniolBot':
if msg.find('aurez') != -1:
2012-06-21 11:09:36 +00:00
client.sendto(chan, '%cACTION sort un fusil sniper et ajuste la visee sur guiniolBot...%c' % (1, 1))