Discord-Raid-bot/cogs/pbchimera.py

16 lines
No EOL
532 B
Python

import discord
from discord.ext import commands
from config import AUTHORIZED_CHANNEL_ID
from utils.pb_handler import handle_pb_command
class Pbchimera(commands.Cog):
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)
async def setup(bot):
await bot.add_cog(Pbchimera(bot))