diff --git a/sweebot.py b/sweebot.py index 0f11818..fcd3ceb 100644 --- a/sweebot.py +++ b/sweebot.py @@ -13,7 +13,7 @@ import threading class config: def __init__(self): import sqlite3 - self.conn = sqlite3.connect(cwd + "/sbirc.db") + self.conn = sqlite3.connect(environ["SBconfig"]) self.database = self.conn.cursor() def perms(self, cloak: str): try: