mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Use the contributor list URL instead of the org in [p]info (#6079)
Co-authored-by: Kowlin <git@wyvern.blue>
This commit is contained in:
parent
e1f5d65d16
commit
0d284cabe9
@ -407,8 +407,8 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
"""Shows info about [botname]."""
|
"""Shows info about [botname]."""
|
||||||
embed_links = await ctx.embed_requested()
|
embed_links = await ctx.embed_requested()
|
||||||
author_repo = "https://github.com/Twentysix26"
|
author_repo = "https://github.com/Twentysix26"
|
||||||
org_repo = "https://github.com/Cog-Creators"
|
red_repo = "https://github.com/Cog-Creators/Red-DiscordBot"
|
||||||
red_repo = org_repo + "/Red-DiscordBot"
|
contributors_url = red_repo + "/graphs/contributors"
|
||||||
red_pypi = "https://pypi.org/project/Red-DiscordBot"
|
red_pypi = "https://pypi.org/project/Red-DiscordBot"
|
||||||
support_server_url = "https://discord.gg/red"
|
support_server_url = "https://discord.gg/red"
|
||||||
dpy_repo = "https://github.com/Rapptz/discord.py"
|
dpy_repo = "https://github.com/Rapptz/discord.py"
|
||||||
@ -438,7 +438,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
"creates content for everyone to enjoy. [Join us today]({}) "
|
"creates content for everyone to enjoy. [Join us today]({}) "
|
||||||
"and help us improve!\n\n"
|
"and help us improve!\n\n"
|
||||||
"(c) Cog Creators"
|
"(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 = discord.Embed(color=(await ctx.embed_colour()))
|
||||||
embed.add_field(
|
embed.add_field(
|
||||||
@ -537,7 +537,13 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
"6. <{}>\n"
|
"6. <{}>\n"
|
||||||
"7. <{}>\n"
|
"7. <{}>\n"
|
||||||
).format(
|
).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)
|
await ctx.send(refs)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user