Adding script for creating the sqlite db through which messages are sent between receiving process and discord messaging process.

This commit is contained in:
tamservo 2023-07-15 15:55:28 +01:00
parent f34501046e
commit c0d0550b27

11
create_queue_db.py Normal file
View File

@ -0,0 +1,11 @@
import sqlite3
if __name__ == '__main__':
con = sqlite3.connect('messages.db')
cur = con.cursor()
#cur.execute("""drop table messages""")
cur.execute("""create table messages( id integer primary key, message );""")
con.commit()
cur.close()
con.close()