aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authordavid <[email protected]>2026-10-23 03:34:54 -0300
committerdavid <[email protected]>2026-10-23 03:34:54 -0300
commita704744f5c8ea5b0e97acd6d497b48a724b044ec (patch)
tree2a1f054f5e96c16ce784f8696055df8591a8fc92 /bot.py
parentdc06343909d2df10c04203ab28bb7fe3c37edcd4 (diff)
downloadfaggot-chan-a704744f5c8ea5b0e97acd6d497b48a724b044ec.tar.gz
faggot-chan-a704744f5c8ea5b0e97acd6d497b48a724b044ec.zip
changed describe.py a bit
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.py b/bot.py
index 4a13a57..dfa68db 100644
--- a/bot.py
+++ b/bot.py
@@ -93,7 +93,7 @@ QUIET_COOLDOWN = 600 # seconds of silence before she's allowed to send a random
MEDIA_MIMES = ("image/png", "image/jpeg", "image/webp", "image/heic", "image/heif",
"audio/", "video/", "application/pdf", "text/plain") # what gemini can actually read
MEDIA_MAX_BYTES = 10 * 1024 * 1024 # total per message, gemini caps inline request size (~20mb and base64 adds a third)
-MEDIA_SAVE_MAX_BYTES = 8 * 1024 * 1024 # per file we keep, stays under discord's 10mb upload limit so she can send it back
+MEDIA_SAVE_MAX_BYTES = 19 * 1024 * 1024 # per file we keep, stays under discord's 10mb upload limit so she can send it back
def log_error(text: str):
with ERROR_FILE.open("a", encoding="utf-8") as f: