Discord-Raid-bot/cogs/pbchimera.py

19 lines
573 B
Python
Raw Normal View History

2025-08-26 17:35:54 +00:00
# -*- coding: utf-8 -*-
2025-08-22 13:25:34 +00:00
import discord
from discord.ext import commands
from utils.pb_handler import handle_pb_command
class Pbchimera(commands.Cog):
2025-08-26 17:35:54 +00:00
"""Cog pour gérer les Personal Bests Chimera"""
2025-08-22 13:25:34 +00:00
def __init__(self, bot):
self.bot = bot
@commands.command(name="pbchimera")
async def pbchimera(self, ctx, arg1: str = None, arg2: str = None):
"""Commande !pbchimera avec gestion des difficultés"""
await handle_pb_command(ctx, 'chimera', arg1, arg2)
2025-08-25 16:09:37 +00:00
async def setup(bot):
2025-08-26 17:35:54 +00:00
await bot.add_cog(Pbchimera(bot))