[Downloader] Adds ctx.typing() to [p]pipinstall (#2700)

This commit is contained in:
Flame442 2019-05-17 21:40:42 -04:00 committed by Michael H
parent 7dd3ff7c8d
commit b190e7417e

View File

@ -199,7 +199,8 @@ class Downloader(commands.Cog):
if not deps:
return await ctx.send_help()
repo = Repo("", "", "", Path.cwd(), loop=ctx.bot.loop)
success = await repo.install_raw_requirements(deps, self.LIB_PATH)
async with ctx.typing():
success = await repo.install_raw_requirements(deps, self.LIB_PATH)
if success:
await ctx.send(_("Libraries installed."))