using gitlab
This commit is contained in:
parent
06ebf2bb1c
commit
604be56382
1 changed files with 3 additions and 3 deletions
|
@ -238,17 +238,17 @@ class Utils(commands.Cog):
|
||||||
with open(path.join(path.dirname(path.dirname(path.dirname(__file__))), "README.md"), "r") as file:
|
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]
|
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"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"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 = 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 = "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 = "Timezone", value = f"`{self.customTimezone}`")
|
||||||
embed.add_field(name = "Version", value = f"`{version}`")
|
embed.add_field(name = "Version", value = f"`{version}`")
|
||||||
changes = getChangelogs(version)
|
changes = getChangelogs(version)
|
||||||
if changes != None and changes != 0:
|
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__}")
|
embed.set_footer(text = f"Basé sur discord.py {discord.__version__}")
|
||||||
try:
|
try:
|
||||||
if fromSlash != True:
|
if fromSlash != True:
|
||||||
|
|
Reference in a new issue