ircbot/guiniol.py
2022-10-21 23:09:55 +01:00

16 lines
297 B
Python

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:
client.sendto(chan, '%cACTION sort un fusil sniper et ajuste la visee sur guiniolBot...%c' % (1, 1))