Adding script for creating the sqlite db through which messages are sent between receiving process and discord messaging process.
This commit is contained in:
parent
f34501046e
commit
c0d0550b27
11
create_queue_db.py
Normal file
11
create_queue_db.py
Normal 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()
|
||||
|
Loading…
Reference in New Issue
Block a user