paper-dynasty-discord/cogs/economy/__init__.py
2025-08-17 08:46:55 -05:00

37 lines
1.2 KiB
Python

# Economy Package
# Refactored from monolithic economy.py into focused modules
# This package contains the following modules:
# - help_system.py: Help and FAQ commands
# - packs.py: Pack opening, daily rewards, donations
# - marketplace.py: Buy/sell functionality
# - team_setup.py: Team creation and sheet management
# - admin_tools.py: Admin/mod commands
# - notifications.py: Automated notification processing
# Economy Package - Shared imports only for setup function
import logging
from discord.ext import commands
async def setup(bot):
"""
Setup function for the economy package.
Loads all economy-related cogs.
"""
# Import and setup all economy modules
from .help_system import HelpSystem
from .packs import Packs
from .marketplace import Marketplace
from .team_setup import TeamSetup
from .admin_tools import AdminTools
from .notifications import Notifications
await bot.add_cog(HelpSystem(bot))
await bot.add_cog(Packs(bot))
await bot.add_cog(Marketplace(bot))
await bot.add_cog(TeamSetup(bot))
await bot.add_cog(AdminTools(bot))
await bot.add_cog(Notifications(bot))
logging.getLogger('discord_app').info('All economy cogs loaded successfully')