diff --git a/main.py b/main.py index 35becd4..ca6d72d 100644 --- a/main.py +++ b/main.py @@ -9,7 +9,7 @@ TOKEN = config["TOKEN"] intents = discord.Intents.default() -class EONA(discord.Client): +class Elysia(discord.Client): def __init__(self): super().__init__(intents=intents) self.tree = discord.app_commands.CommandTree(self) @@ -35,7 +35,7 @@ class EONA(discord.Client): logger.error("Birthday module not enabled") -client = EONA() +client = Elysia() @client.event diff --git a/user/birthday.py b/user/birthday.py index 3d88929..05c1f2e 100644 --- a/user/birthday.py +++ b/user/birthday.py @@ -3,8 +3,8 @@ from discord import app_commands import sqlite3 import os from logger import logger -from data_management.consent import ConsentManager -from data_management.data_access import DataAccessManager +from user_data.consent import ConsentManager +from user_data.data_access import DataAccessManager import datetime import config @@ -12,7 +12,7 @@ import config class Birthday: def __init__(self, client): self.client = client - self.db_path = "data/EONA.db" + self.db_path = "data/elysia.db" self.logger = logger self.consent_manager = ConsentManager(self.db_path) self.data_access_manager = DataAccessManager(self.db_path) diff --git a/user_data/consent.py b/user_data/consent.py index d1f95a2..1f78646 100644 --- a/user_data/consent.py +++ b/user_data/consent.py @@ -4,7 +4,7 @@ from logger import logger class ConsentManager: - def __init__(self, db_path="data/EONA.db"): + def __init__(self, db_path="data/elysia.db"): self.db_path = db_path self.ensure_db() diff --git a/user_data/data_access.py b/user_data/data_access.py index 238c8c5..e1edae4 100644 --- a/user_data/data_access.py +++ b/user_data/data_access.py @@ -4,7 +4,7 @@ from logger import logger class DataAccessManager: - def __init__(self, db_path="data/EONA.db"): + def __init__(self, db_path="data/elysia.db"): self.db_path = db_path def delete_user_data(self, user_id, guild_id):