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