Skip to content

Commit

Permalink
fix(downloader): embed silencer characters (<>) will no longer be pre…
Browse files Browse the repository at this point in the history
…sent in [p]repo list True True
  • Loading branch information
cswimr committed Jan 5, 2024
1 parent ca96e3b commit 93a1c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/cogs/downloader/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ async def _repo_list(self, ctx: commands.Context, list_urls: bool = False, codeb
joined = _("# Installed Repo\n")
for repo in sorted_repos:
if list_urls:
joined += "+ {}: {}\n + <{}>\n".format(repo.name, repo.short or "", repo.url)
joined += "+ {}: {}\n + {}\n".format(repo.name, repo.short or "", repo.url if codeblock else "<{}>".format(repo.url))
else:
joined += "+ {}: {}\n".format(repo.name, f" ({repo.short})" if repo.short else "")

Expand Down

0 comments on commit 93a1c18

Please sign in to comment.