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 Pbcvc(commands.Cog):
|
2025-08-26 17:35:54 +00:00
|
|
|
"""Cog pour gérer les Personal Bests CvC (sans difficultés)"""
|
|
|
|
|
|
2025-08-22 13:25:34 +00:00
|
|
|
def __init__(self, bot):
|
|
|
|
|
self.bot = bot
|
|
|
|
|
|
|
|
|
|
@commands.command(name="pbcvc")
|
|
|
|
|
async def pbcvc(self, ctx, target_user: str = None):
|
2025-08-26 17:35:54 +00:00
|
|
|
"""Commande !pbcvc"""
|
2025-08-22 13:25:34 +00:00
|
|
|
await handle_pb_command(ctx, 'cvc', target_user)
|
|
|
|
|
|
2025-08-25 16:09:37 +00:00
|
|
|
async def setup(bot):
|
2025-08-26 17:35:54 +00:00
|
|
|
await bot.add_cog(Pbcvc(bot))
|