Browse Source

removing the @bot when its mentioned in the log

pull/5/head
manetta 6 years ago
parent
commit
b9965a8e62
  1. 2
      logbot.py

2
logbot.py

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

Loading…
Cancel
Save