Skip to content

Commit

Permalink
DOC: Fixed some names that didn't get changed
Browse files Browse the repository at this point in the history
FIX: Import for user_data has been corrected to use the correct folder now.
  • Loading branch information
advtech92 committed Aug 14, 2024
1 parent 7b20397 commit dd8f068
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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)
Expand All @@ -35,7 +35,7 @@ def load_modules(self):
logger.error("Birthday module not enabled")


client = EONA()
client = Elysia()


@client.event
Expand Down
6 changes: 3 additions & 3 deletions user/birthday.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
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


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)
Expand Down
2 changes: 1 addition & 1 deletion user_data/consent.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


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

Expand Down
2 changes: 1 addition & 1 deletion user_data/data_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


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):
Expand Down

0 comments on commit dd8f068

Please sign in to comment.