[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,6 +199,7 @@ class Downloader(commands.Cog):
if not deps: if not deps:
return await ctx.send_help() return await ctx.send_help()
repo = Repo("", "", "", Path.cwd(), loop=ctx.bot.loop) repo = Repo("", "", "", Path.cwd(), loop=ctx.bot.loop)
async with ctx.typing():
success = await repo.install_raw_requirements(deps, self.LIB_PATH) success = await repo.install_raw_requirements(deps, self.LIB_PATH)
if success: if success: