mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Downloader] Better user facing feedback on cog update (#2165)
This commit is contained in:
committed by
Toby Harradine
parent
fb839084fe
commit
d79996aeea
@@ -545,12 +545,10 @@ class Core(commands.Cog, CoreLogic):
|
||||
|
||||
@commands.command(name="reload")
|
||||
@checks.is_owner()
|
||||
async def reload_(self, ctx, *, cog_name: str):
|
||||
async def reload(self, ctx, *cogs: str):
|
||||
"""Reloads packages"""
|
||||
|
||||
cog_names = [c.strip() for c in cog_name.split(" ")]
|
||||
async with ctx.typing():
|
||||
loaded, failed, not_found = await self._reload(cog_names)
|
||||
loaded, failed, not_found = await self._reload(cogs)
|
||||
|
||||
if loaded:
|
||||
fmt = "Package{plural} {packs} {other} reloaded."
|
||||
|
||||
Reference in New Issue
Block a user