Browse Source

testing the hook :)

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

2
logbot.py

@ -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 message to 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)

Loading…
Cancel
Save