mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Downloader] Adds ctx.typing() to [p]pipinstall (#2700)
This commit is contained in:
parent
7dd3ff7c8d
commit
b190e7417e
@ -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."))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user