mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
refactor(makeprompt.py): remove print statements
This commit is contained in:
@@ -69,7 +69,6 @@ def get_guild_data(message):
|
||||
curs_premium.execute(
|
||||
"SELECT * FROM data WHERE guild_id = ?", (guid,)
|
||||
)
|
||||
print("GUID: " + str(guid))
|
||||
premium = curs_premium.fetchone()[2]
|
||||
except Exception as e:
|
||||
premium = 0
|
||||
@@ -395,7 +394,6 @@ async def gpt_prompt(bot, messages, message, data_dict, prompt, guild_data):
|
||||
image_bytes = await attachment.read()
|
||||
input_content.append({"image": image_bytes})
|
||||
msgs.append({"role": role, "content": input_content, "name": name})
|
||||
print(f"Image status for guild is {guild_data['images_enabled']}")
|
||||
if (
|
||||
len(msg.attachments) > 0
|
||||
and role == "user"
|
||||
|
||||
Reference in New Issue
Block a user