Update sweebot.py

This commit is contained in:
Swee 2024-09-22 13:20:12 -07:00
parent 44a41d9150
commit 02d9663f5e

View file

@ -13,7 +13,7 @@ import threading
class config: class config:
def __init__(self): def __init__(self):
import sqlite3 import sqlite3
self.conn = sqlite3.connect(cwd + "/sbirc.db") self.conn = sqlite3.connect(environ["SBconfig"])
self.database = self.conn.cursor() self.database = self.conn.cursor()
def perms(self, cloak: str): def perms(self, cloak: str):
try: try: