# -*- coding: utf-8 -*- import discord from discord.ext import commands from config import AUTHORIZED_CHANNEL_ID class Guide(commands.Cog): """Affiche la liste des commandes disponibles""" def __init__(self, bot): self.bot = bot @commands.command(name="guide") async def guide(self, ctx): """Affiche toutes les commandes disponibles avec les difficultรฉs""" if ctx.channel.id != AUTHORIZED_CHANNEL_ID: return embed = discord.Embed( title="๐Ÿง TEA Bot - Commands Guide", description="Here are all available commands for tracking your Personal Bests!", color=0x00bfff ) # Info sur les formats de dรฉgรขts embed.add_field( name="๐Ÿ’  Damage Formats", value="**Accepted formats:** `1500000`, `1.5M`, `500K`, `2B`\n" "**Suffixes:** K = thousands, M = millions, B = billions\n" "**Shortcuts:** `nm` = Nightmare, `unm` = Ultra Nightmare", inline=False ) # Commandes PB Hydra embed.add_field( name="๐Ÿ Hydra Commands", value="**Difficulties:** Normal | Hard | Brutal | Nightmare (nm)\n" "`!pbhydra ` - Submit PB + screenshot\n" "`!pbhydra ` - Show your PB\n" "`!pbhydra ` - Show user's PB", inline=False ) # Commandes PB Chimera embed.add_field( name="๐Ÿฆ Chimera Commands", value="**Difficulties:** Easy | Normal | Hard | Brutal | Nightmare (nm) | Ultra (unm)\n" "`!pbchimera ` - Submit PB + screenshot\n" "`!pbchimera ` - Show your PB\n" "`!pbchimera ` - Show user's PB", inline=False ) # Commandes PB CvC embed.add_field( name="โš”๏ธ CvC Commands", value="`!pbcvc ` - Submit PB + screenshot\n" "`!pbcvc` - Show your PB\n" "`!pbcvc ` - Show user's PB", inline=False ) # Commandes Mercy embed.add_field( name="๐ŸŽฒ Mercy Commands", value="`!mercy show` - Show your current mercy pulls\n" "`!mercy add ` - Add pulls to a shard type\n" "`!mercy reset ` - Reset pulls for a shard type\n" "**Available types:** ancient, void, sacred, primal, remnant", inline=False ) # Classements globaux embed.add_field( name="๐ŸŒ Global Leaderboards", value="`!top10hydra ` - Global Hydra rankings\n" "`!top10chimera ` - Global Chimera rankings\n" "`!top10cvc` - Global CvC rankings", inline=False ) # Classements par clan embed.add_field( name="๐Ÿ† Clan Leaderboards", value="**๐Ÿ”ฅ TEAI (Inferno):** `!teaihydra ` `!teaichimera ` `!teaicvc`\n" "**๐Ÿ›ก๏ธ TEAF (Flame):** `!teafhydra ` `!teafchimera ` `!teafcvc`\n" "**โš”๏ธ TEAC (Cinder):** `!teachydra ` `!teachimera ` `!teaccvc`\n" "**๐Ÿ‘‘ TEACO (Corrupted Olympians):** `!teacohydra ` `!teacochimera ` `!teacocvc`", inline=False ) # Stats et aide embed.add_field( name="๐Ÿ“ˆ Stats & Info", value="`!mystats` - View all your PBs\n" "`!mystats ` - View someone's PBs\n" "`!guide` - Show this help message", inline=False ) # Instructions embed.add_field( name="โšก Examples", value="`!pbhydra brutal 1.5M` - Submit Brutal Hydra PB\n" "`!pbchimera unm 500K` - Submit Ultra Nightmare PB\n" "`!pbcvc 2.3M` - Submit CvC PB\n" "`!mercy add 50 primal` - Add 50 pulls to Primal shard\n" "`!mercy show` - Show your mercy pulls\n" "`!teaihydra nm` - TEAI clan Nightmare rankings\n" "**Always attach screenshot when submitting PBs!**", inline=False ) embed.set_footer(text="๐ŸŽฎ Old screenshots are automatically deleted when you set new PBs!") await ctx.send(embed=embed) async def setup(bot): await bot.add_cog(Guide(bot))