best field name

This commit is contained in:
Mylloon 2021-07-28 13:57:32 +02:00
parent 16fd995e96
commit ecfa9bf1b2

View file

@ -238,7 +238,7 @@ class Utils(commands.Cog):
dev = self.client.get_user(158260864623968257) dev = self.client.get_user(158260864623968257)
embed.add_field(name = "Dev", value = f"[{dev.name}](https://gitlab.com/Mylloon)") embed.add_field(name = "Dev", value = f"[{dev.name}](https://gitlab.com/Mylloon)")
embed.add_field(name = "Host", value = appinfo.owner.mention) 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"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'}")
@ -246,7 +246,7 @@ class Utils(commands.Cog):
embed.add_field(name = "Code source", value = "[Lien Gitlab](https://gitlab.com/ConfrerieDuKassoulait/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}`")
changes = getChangelogs(version) changes = getChangelogs(version)
version = f"`{getActualVersion()}`" version = f"`{version}`"
if changes[0] == 200: if changes[0] == 200:
version = f"[{version}]({changes[1]})" version = f"[{version}]({changes[1]})"
embed.add_field(name = "Version", value = version) embed.add_field(name = "Version", value = version)