mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
[Downloader] Adds ctx.typing() to [p]pipinstall (#2700)
This commit is contained in:
@@ -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."))
|
||||
|
||||
Reference in New Issue
Block a user