From 12d4c833dde4f0117f4228f7162dbae2ac1401f7 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 30 Jul 2021 20:07:05 +0200 Subject: [PATCH] link of the right branch in link --- src/cogs/utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cogs/utils.py b/src/cogs/utils.py index 6d79604..b61de7d 100644 --- a/src/cogs/utils.py +++ b/src/cogs/utils.py @@ -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: