Discord-Raid-bot/cogs/pbcvc.py
2025-08-22 15:25:34 +02:00

16 lines
No EOL
477 B
Python

import discord
from discord.ext import commands
from config import AUTHORIZED_CHANNEL_ID
from utils.pb_handler import handle_pb_command
class Pbcvc(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(name="pbcvc")
async def pbcvc(self, ctx, target_user: str = None):
"""Commande !pbcvc (sans difficultées)"""
await handle_pb_command(ctx, 'cvc', target_user)
def setup(bot):
bot.add_cog(Pbcvc(bot))