Discord-Raid-bot/cogs/pbhydra.py

19 lines
562 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 Pbhydra(commands.Cog):
2025-08-26 17:35:54 +00:00
"""Cog pour gérer les Personal Bests Hydra"""
2025-08-22 13:25:34 +00:00
def __init__(self, bot):
self.bot = bot
@commands.command(name="pbhydra")
async def pbhydra(self, ctx, arg1: str = None, *, arg2: str = None):
2025-08-22 13:25:34 +00:00
"""Commande !pbhydra avec gestion des difficultés"""
await handle_pb_command(ctx, 'hydra', 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(Pbhydra(bot))