replace branch name "main" per "stable" in info command

This commit is contained in:
Mylloon 2021-07-28 22:18:34 +02:00
parent 0c0d26a324
commit 03bc6f8937

View file

@ -249,7 +249,7 @@ class Utils(commands.Cog):
version = f"`{version}`"
if changes[0] == 200:
version = f"[{version}]({changes[1]})"
embed.add_field(name = "Version", value = f"{version} ({devOrStableChannel()})")
embed.add_field(name = "Version", value = f"{version} ({devOrStableChannel().replace("main", "stable")})")
embed.set_footer(text = f"Basé sur discord.py {discord.__version__}")
try:
if fromSlash != True: