[3.4] Use the contributor list URL instead of the org in [p]info (#6079) (#6081)

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
Co-authored-by: Kowlin <git@wyvern.blue>
This commit is contained in:
Red-GitHubBot
2023-04-20 02:36:19 +02:00
committed by GitHub
parent 7cf1620b89
commit 5367246dc2

View File

@@ -395,8 +395,8 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
"""
embed_links = await ctx.embed_requested()
author_repo = "https://github.com/Twentysix26"
org_repo = "https://github.com/Cog-Creators"
red_repo = org_repo + "/Red-DiscordBot"
red_repo = "https://github.com/Cog-Creators/Red-DiscordBot"
contributors_url = red_repo + "/graphs/contributors"
red_pypi = "https://pypi.org/project/Red-DiscordBot"
support_server_url = "https://discord.gg/red"
dpy_repo = "https://github.com/Rapptz/discord.py"
@@ -426,7 +426,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
"creates content for everyone to enjoy. [Join us today]({}) "
"and help us improve!\n\n"
"(c) Cog Creators"
).format(red_repo, author_repo, org_repo, support_server_url)
).format(red_repo, author_repo, contributors_url, support_server_url)
embed = discord.Embed(color=(await ctx.embed_colour()))
embed.add_field(
@@ -525,7 +525,13 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
"6. <{}>\n"
"7. <{}>\n"
).format(
red_repo, author_repo, org_repo, support_server_url, python_url, dpy_repo, red_pypi
red_repo,
author_repo,
contributors_url,
support_server_url,
python_url,
dpy_repo,
red_pypi,
)
await ctx.send(refs)