Typing() fixx?
This commit is contained in:
parent
c93752088f
commit
38f5246679
@ -126,8 +126,8 @@ class Chatter:
|
|||||||
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 = self.chatbot.get_response(text)
|
||||||
if response:
|
if not response:
|
||||||
|
response = ":thinking:"
|
||||||
await channel.send(response)
|
await channel.send(response)
|
||||||
else:
|
|
||||||
await channel.send(":thinking:")
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user