testing the hook :)

This commit is contained in:
manetta 2019-07-17 19:01:25 +02:00
parent ef3a6f2f7c
commit d6bf65db6f

View File

@ -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']),