16 lines
No EOL
520 B
Python
16 lines
No EOL
520 B
Python
import discord
|
|
from discord.ext import commands
|
|
from config import AUTHORIZED_CHANNEL_ID
|
|
from utils.pb_handler import handle_pb_command
|
|
|
|
class Pbhydra(commands.Cog):
|
|
def __init__(self, bot):
|
|
self.bot = bot
|
|
|
|
@commands.command(name="pbhydra")
|
|
async def pbhydra(self, ctx, arg1: str = None, arg2: str = None):
|
|
"""Commande !pbhydra avec gestion des difficultés"""
|
|
await handle_pb_command(ctx, 'hydra', arg1, arg2)
|
|
|
|
async def setup(bot):
|
|
await bot.add_cog(Pbhydra(bot)) |