diff --git a/bot.py b/bot.py index fc37806..a373103 100644 --- a/bot.py +++ b/bot.py @@ -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): diff --git a/cogs/activity.py b/cogs/activity.py index 59316db..14cc256 100644 --- a/cogs/activity.py +++ b/cogs/activity.py @@ -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__)