removing the @bot when its mentioned in the log
This commit is contained in:
parent
4e9c94c102
commit
b9965a8e62
@ -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…
Reference in New Issue
Block a user