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