Browse Source

testing the hook :)

master
manetta 5 years ago
parent
commit
d6bf65db6f
  1. 2
      logbot.py

2
logbot.py

@ -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…
Cancel
Save