add typing when generating script

This commit is contained in:
brandons209 2021-03-04 18:52:54 -05:00
parent ce4a52bc19
commit a5ad9c8734

View file

@ -223,6 +223,7 @@ class ScriptGen(commands.Cog):
)
p.start()
async with ctx.typing():
# in order to avoid the bot's main asyncio loop getting held up (which freezes the bot)
# need to wait while the queue is empty. also cant just put pass, since this
# will also hold up the bot's main loop