cleanup: removed useless variable

This commit is contained in:
Seaswimmer 2023-08-01 18:04:03 -04:00
parent 53d1d20942
commit 074569465b
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

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