strip html

This commit is contained in:
Gordon Shumway 2019-04-13 15:13:49 -04:00 committed by GitHub
parent 1d19a40d84
commit 5d69eb6afa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class BotLibre(callbacks.Plugin):
response = j['message']
self.conversation[channel] = j['conversation']
if response:
irc.reply(j['message'])
irc.reply(re.sub('<[^<]+?>', '', j['message']))
except:
return