forked from varia/logbot
testing the hook :)
This commit is contained in:
parent
62ddb363da
commit
e481171c1b
@ -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…
Reference in New Issue
Block a user