SQLite version of SugonCredit #1

Closed
cswimr wants to merge 24 commits from sugoncredit_sql into main
Showing only changes of commit 074569465b - Show all commits

View file

@ -46,7 +46,6 @@ class SugonCredit(commands.Cog):
def new_user_generation(self, guild_id, target):
"""Adds a new user to the SQLite database."""
username = str(target)
con = sqlite3.connect(f'{self.data_path}')
cur = con.cursor()
cur.execute(f'''INSERT INTO {guild_id}