pirateadventure.py

 avatar
unknown
python
22 days ago
502 B
2
Indexable
# cogs/pirateadventure/pirateadventure.py
from discord.ext import commands
from .commands import PirateAdventureCommands

class PirateAdventure(commands.Cog):
    def __init__(self, bot):
        self.bot = bot
        self.player_profiles = {}
        self.legendary_roles = {} # guild

    async def cog_load(self):
        # Add the commands cog and pass self
        await self.bot.add_cog(PirateAdventureCommands(self.bot, self))

async def setup(bot):
    await bot.add_cog(PirateAdventure(bot))
Editor is loading...
Leave a Comment