1
0
Fork 0
forked from waifu/kemoverse

Merge pull request 'fix: initialize last_seen_notif_id in db.py' (#29) from nyanide/kemoverse:cool_fix into dev

Looking sharp, thanks
Reviewed-on: waifu/kemoverse#29
This commit is contained in:
waifu 2025-05-25 00:46:30 -03:00
commit 0690ac5212

3
db.py
View file

@ -41,6 +41,9 @@ cursor.execute("""
)
""")
# Initialize essential config key
cursor.execute('INSERT INTO config VALUES ("last_seen_notif_id", 0)')
""" # Insert example characters into the database if they don't already exist
characters = [
('Murakami-san', 1, 0.35),