link of the right branch in link

This commit is contained in:
Mylloon 2021-07-30 20:07:05 +02:00
parent 377496b979
commit 12d4c833dd

View file

@ -236,19 +236,21 @@ class Utils(commands.Cog):
dev = self.client.get_user(158260864623968257)
devOrMain = devOrStableChannel()
embed.add_field(name = "Dev", value = f"[{dev}](https://gitlab.com/Mylloon)")
embed.add_field(name = "Hébergeur", value = appinfo.owner.mention)
embed.add_field(name = f"Serveur{'s' if nombreServeur > 1 else ''}", value = f"`{nombreServeur}`")
embed.add_field(name = f"Membre{'s' if total_unique > 1 else ''}", value = f"`{total_unique}` au total\n`{total_online}` en ligne")
embed.add_field(name = f"Salon{'s' if (text + voice) > 1 else ''}", value = f"`{text}` textuel{'s' if text > 1 else ''}\n`{voice}` voca{'ux' if voice > 1 else 'l'}")
embed.add_field(name = "Prefix", value = f"`{ctx.prefix}`")
embed.add_field(name = "Code source", value = "[Lien Gitlab](https://gitlab.com/ConfrerieDuKassoulait/KassouBot)")
embed.add_field(name = "Code source", value = f"[Lien Gitlab](https://gitlab.com/ConfrerieDuKassoulait/KassouBot/-/tree/{devOrMain})")
embed.add_field(name = "Timezone", value = f"`{self.customTimezone}`")
changes = getChangelogs(version)
version = f"`{version}`"
if changes[0] == 200:
version = f"[{version}]({changes[1]})"
embed.add_field(name = "Version", value = f"{version} ({devOrStableChannel().replace('main', 'stable')})")
embed.add_field(name = "Version", value = f"{version} ({devOrMain.replace('main', 'stable')})")
embed.set_footer(text = f"Basé sur discord.py {discord.__version__}")
try:
if fromSlash != True: