mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
Update code.py
This commit is contained in:
@@ -10,7 +10,7 @@ def debug(message):
|
|||||||
logging.info(message)
|
logging.info(message)
|
||||||
|
|
||||||
#create a database called "database.db" if the database does not exist, else connect to it
|
#create a database called "database.db" if the database does not exist, else connect to it
|
||||||
conn = sqlite3.connect('data.db')
|
conn = sqlite3.connect('../database/data.db')
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
|
|
||||||
# Create table called "data" if it does not exist with the following columns: guild_id, channel_id, api_key, is_active, max_tokens, temperature, frequency_penalty, presence_penalty, uses_count_today, prompt_size
|
# Create table called "data" if it does not exist with the following columns: guild_id, channel_id, api_key, is_active, max_tokens, temperature, frequency_penalty, presence_penalty, uses_count_today, prompt_size
|
||||||
|
|||||||
Reference in New Issue
Block a user