forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
26464f4e48
commit
44a41d9150
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ import threading
|
|||
class config:
|
||||
def __init__(self):
|
||||
import sqlite3
|
||||
conn = sqlite3.connect(cwd + "/sbirc.db")
|
||||
self.database = conn.cursor()
|
||||
self.conn = sqlite3.connect(cwd + "/sbirc.db")
|
||||
self.database = self.conn.cursor()
|
||||
def perms(self, cloak: str):
|
||||
try:
|
||||
self.database.execute(f"SELECT * FROM users WHERE username = '{cloak}';")
|
||||
|
|
Loading…
Reference in a new issue