Changing the name of the table for message logs

pull/4/head
sgoudham 4 years ago
parent 9f7f571048
commit 044b6305ae

@ -67,7 +67,7 @@ async def on_message(message):
pass
# Define the Insert Into Statement inserting into the database
insert_query = """INSERT INTO USERLOGS (guildID, messageTime, discordID, messageContent) VALUES (?, ?, ?, ?)"""
insert_query = """INSERT INTO messages (guildID, messageTime, discordID, messageContent) VALUES (?, ?, ?, ?)"""
cursor = conn.cursor()
# Execute the SQL Query
cursor.execute(insert_query, val)

Loading…
Cancel
Save