DOC: Fixed some names that didn't get changed

FIX: Import for user_data has been corrected to use the correct folder now.
This commit is contained in:
Dan 2024-08-13 23:11:42 -04:00
parent 7b203978fd
commit dd8f068e88
4 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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)

View File

@ -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()

View File

@ -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):