Discord-Raid-bot/cogs/pbhydra.py

19 lines
535 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
import discord
from discord.ext import commands
from utils.pb_handler import handle_pb_command
class Pbhydra(commands.Cog):
"""Cog for managing Hydra Personal Bests"""
def __init__(self, bot):
self.bot = bot
@commands.command(name="pbhydra")
async def pbhydra(self, ctx, arg1: str = None, *, arg2: str = None):
"""!pbhydra command with difficulty handling"""
await handle_pb_command(ctx, 'hydra', arg1, arg2)
async def setup(bot):
await bot.add_cog(Pbhydra(bot))