diff --git a/redbot/cogs/downloader/downloader.py b/redbot/cogs/downloader/downloader.py index 7fb8be7e3..34f5d76e0 100644 --- a/redbot/cogs/downloader/downloader.py +++ b/redbot/cogs/downloader/downloader.py @@ -371,7 +371,8 @@ class Downloader: ["+ {}: {}".format(c.name, c.short or "") for c in cogs] ) - await ctx.send(box(cogs, lang="diff")) + for page in pagify(cogs, ["\n"], shorten_by=16): + await ctx.send(box(page.lstrip(" "), lang="diff")) @cog.command(name="info") async def _cog_info(self, ctx, repo_name: Repo, cog_name: str): @@ -388,7 +389,9 @@ class Downloader: msg = _("Information on {}:\n{}").format(cog.name, cog.description or "") await ctx.send(box(msg)) - async def is_installed(self, cog_name: str) -> (bool, Union[Installable, None]): + async def is_installed( + self, cog_name: str + ) -> Union[Tuple[bool, Installable], Tuple[bool, None]]: """Check to see if a cog has been installed through Downloader. Parameters