using gitlab

This commit is contained in:
Mylloon 2021-07-28 01:19:19 +02:00
parent 06ebf2bb1c
commit 604be56382

View file

@ -238,17 +238,17 @@ class Utils(commands.Cog):
with open(path.join(path.dirname(path.dirname(path.dirname(__file__))), "README.md"), "r") as file:
version = findall(r'https://img.shields.io/badge/version-(\d+\.\d+)', file.readlines()[2])[0]
embed.add_field(name = "Dev", value = f"[{appinfo.owner}](https://github.com/Mylloon)")
embed.add_field(name = "Dev", value = f"[{appinfo.owner}](https://gitlab.com/Mylloon)")
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 Github](https://github.com/Confrerie-du-Kassoulait/KassouBot/)")
embed.add_field(name = "Code source", value = "[Lien Gitlab](https://gitlab.com/ConfrerieDuKassoulait/KassouBot)")
embed.add_field(name = "Timezone", value = f"`{self.customTimezone}`")
embed.add_field(name = "Version", value = f"`{version}`")
changes = getChangelogs(version)
if changes != None and changes != 0:
embed.add_field(name = "Changements", value = f"[Lien Github]({changes[0]})")
embed.add_field(name = "Changements", value = f"[Lien Gitlab]({changes[0]})")
embed.set_footer(text = f"Basé sur discord.py {discord.__version__}")
try:
if fromSlash != True: