fix duplicate cog name 'ActivityCog'
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s

This commit is contained in:
Corban-Lee Jones 2024-12-06 11:06:33 +00:00
parent 258544fad5
commit f150bf9ddb
2 changed files with 3 additions and 2 deletions

1
bot.py
View File

@ -19,6 +19,7 @@ load_dotenv(override=True)
log = logging.getLogger(__name__)
BASE_DIR = Path(__file__).resolve().parent
DATA_DIR = BASE_DIR / "data"
class DiscordBot(commands.Bot):

View File

@ -11,7 +11,7 @@ from discord.ext import commands, tasks
log = logging.getLogger(__name__)
class CommandCog(commands.Cog):
class ActivityCog(commands.Cog):
"""
Handles the bot's profile activity.
"""
@ -30,6 +30,6 @@ class CommandCog(commands.Cog):
async def setup(bot: commands.Bot):
cog = CommandCog(bot)
cog = ActivityCog(bot)
await bot.add_cog(cog)
log.info("Added %s cog", cog.__class__.__name__)