testing the hook :)

This commit is contained in:
manetta 2019-07-17 19:00:28 +02:00
parent e481171c1b
commit ef3a6f2f7c

View File

@ -99,7 +99,7 @@ class MUCBot(slixmpp.ClientXMPP):
mbody="Noted! And added to the log. Thanks {}!".format(msg['mucnick']), mbody="Noted! And added to the log. Thanks {}!".format(msg['mucnick']),
mtype='groupchat') mtype='groupchat')
# Add the message to the log # Add the message to the log!
message = '<p class="message">{}</p>'.format(msg['body'].replace('@bot','')) message = '<p class="message">{}</p>'.format(msg['body'].replace('@bot',''))
log = 'log.html' log = 'log.html'
log_path = os.path.join(self.output, log) log_path = os.path.join(self.output, log)