fix renaming threads breaking converastions

Kaveen Kumarasinghe 2 years ago
parent 20cecb889f
commit 88b7d2f3fe

@ -32,7 +32,7 @@ from services.environment_service import EnvService
from models.openai_model import Model from models.openai_model import Model
__version__ = "10.9.16" __version__ = "10.9.17"
PID_FILE = Path("bot.pid") PID_FILE = Path("bot.pid")

@ -735,7 +735,11 @@ class TextService:
) )
thinking_embed.set_footer(text="This may take a few seconds.") thinking_embed.set_footer(text="This may take a few seconds.")
thinking_message = await message.reply(embed=thinking_embed) try:
thinking_message = await message.reply(embed=thinking_embed)
except:
pass
try: try:
await message.channel.trigger_typing() await message.channel.trigger_typing()
except Exception: except Exception:

Loading…
Cancel
Save