escape response
This commit is contained in:
parent
bb6b9e9278
commit
4dc0e8f0c7
@ -6,6 +6,7 @@ from discord.ext import commands
|
||||
|
||||
from redbot.core import Config
|
||||
from redbot.core.bot import Red
|
||||
from redbot.core.utils.chat_formatting import escape
|
||||
|
||||
from .source import ChatBot
|
||||
from .source.trainers import ListTrainer
|
||||
@ -122,7 +123,7 @@ class Chatter:
|
||||
async with channel.typing():
|
||||
response = self.chatbot.get_response(text)
|
||||
if response:
|
||||
await channel.send(response)
|
||||
await channel.send(escape(response))
|
||||
else:
|
||||
await channel.send(":thinking:")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user