escape
This commit is contained in:
parent
17c68f04da
commit
8f0b6f251e
@ -121,9 +121,9 @@ class Chatter:
|
|||||||
return
|
return
|
||||||
text = text.replace(to_strip, "", 1)
|
text = text.replace(to_strip, "", 1)
|
||||||
async with channel.typing():
|
async with channel.typing():
|
||||||
response = self.chatbot.get_response(text)
|
response = escape(self.chatbot.get_response(text))
|
||||||
if response:
|
if response:
|
||||||
await channel.send(escape(response))
|
await channel.send(response)
|
||||||
else:
|
else:
|
||||||
await channel.send(":thinking:")
|
await channel.send(":thinking:")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user