forked from varia/logbot
testing the hook :)
This commit is contained in:
parent
ef3a6f2f7c
commit
d6bf65db6f
@ -107,7 +107,7 @@ class MUCBot(slixmpp.ClientXMPP):
|
|||||||
f.write(message+'\n')
|
f.write(message+'\n')
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
if '/book' in msg['body']: # Check if this is a book
|
if '/book' in msg['body']: # Check if this is a book ...
|
||||||
|
|
||||||
self.send_message(mto=self.room,
|
self.send_message(mto=self.room,
|
||||||
mbody="Oh a book, that's cool! Thanks {}!".format(msg['mucnick']),
|
mbody="Oh a book, that's cool! Thanks {}!".format(msg['mucnick']),
|
||||||
|
Loading…
Reference in New Issue
Block a user