Commit Graph
200 Commits
Author SHA1 Message Date
esef 4fa7d5ca50 website patch 2026-09-23 16:27:26 +03:00
esef b1ff45794a gacha patch 2 2026-09-23 14:47:52 +03:00
esef 3d49c65de3 gacha patch 2026-09-23 14:37:14 +03:00
esef c510a1b63f Use bluearchive.wiki portraits for gacha cards 2026-09-15 16:35:04 +03:00
esef e4b5f0d849 Fix gacha portraits: switch to SchaleDB CDN (joexyz is dead) 2026-09-15 16:07:44 +03:00
esef 437fdccfbc Remove forwarded-from note and drop geo-blocked radio 2026-09-15 15:52:47 +03:00
esef 3649ed5f4d Fix Streaming Soundtracks radio stream URL 2026-09-15 15:46:15 +03:00
esef 3e6311714a Change OS from Arch Linux to Debian in README
Updated the description to reflect the change from Arch Linux to Debian and modified the usage context.
2026-09-15 15:33:40 +03:00
esef 45f4dfd653 Make roster refresh rebuild from SchaleDB base and fail-safe 2026-09-15 15:30:16 +03:00
esef c8e3ab57cc Add weekly Blue Archive roster auto-refresh 2026-09-15 15:19:17 +03:00
esef 23b8c3722a Bundle Blue Archive roster, enable ffmpeg cog, refresh README 2026-09-15 15:13:13 +03:00
esef c815ea4449 Add requirements.txt with runtime dependencies 2026-09-15 14:29:48 +03:00
esef 5faf305ea5 Delete TGBRIDGE.md 2026-09-09 11:37:46 +03:00
esef 89bf238b0e test #2 2026-09-09 11:26:27 +03:00
esef 0b5ba6511e better compression for GIFs 2026-09-09 10:19:09 +03:00
esefandClaude Opus 5 eac6dbda3a tgbridge: rework both directions — avatars, stickers, replies, edits
fixes that were dropping messages:
- d->tg sent parse_mode=Markdown with an unescaped body, so any message
  with a stray * _ ` or [ got a 400 from telegram and vanished. now html
  with proper escaping + a plain-text retry
- no allowed_mentions on webhook posts, so telegram could @everyone
- forwarder.start() ran from on_ready, which fires again on every gateway
  reconnect -> second poller on the same token -> 409s and dupes
- document.mime_type is nullable and was called directly
- sticker finally block hit UnboundLocalError when mkstemp raised
- ffmpeg timeouts leaked temp files and orphaned the process

stickers, per format instead of one blanket gif convert:
- static .webp now passes through (the gif convert crushed 228 alpha
  levels to 2 and made the file 4x bigger)
- video .webm -> animated webp, keeps 8-bit alpha, ~7x smaller than gif.
  needs -c:v libvpx-vp9 before -i or ffmpeg silently drops the alpha
- .tgs is gzipped lottie, ffmpeg exits 183 on it and we were uploading
  the raw file. renders via optional lottie lib, else thumbnail + emoji

added: telegram profile photos as webhook avatars (re-hosted in a private
channel, AVATAR_CACHE_CHANNEL_ID), reply threading both ways, edit sync
both ways, delete sync d->tg, album batching, voice/poll/location/contact/
dice/forward attribution, utf-16-safe entity conversion, mention and custom
emoji resolution, message splitting instead of truncation, shared aiohttp
session with 429 backoff, route discovery from env, !bridge status

main.py just loads the extension now; routes come from credentials.env

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RXrxDFpyq3VjvxWGuW3CZe
2026-09-07 12:19:18 +03:00
esef f6ba74394f new ai 2026-08-16 01:47:06 +03:00
esef 2ce4a2a263 yems 2026-08-16 01:19:11 +03:00
esef d405b23f04 fix: _cache_ready.set() in finally so commands dont hang on banner fetch failure 2026-08-03 20:47:13 +03:00
esef 23258f0c4b fuck 2026-08-03 20:29:42 +03:00
esef 3ef57f85fe gacha_renderer: font caching, threaded bg/png, spark_target; gacha: file i/o out of lock; paths from pkg root 2026-08-03 20:08:27 +03:00
esef 30efb9105f rollback checkpoint: hardened gacha, disabled ffmpeg, deleted rio, async db 2026-08-03 20:05:45 +03:00
esef 05c0599d1c drop gensokyo api poller, use standard icy metadata instead 2026-07-25 13:26:09 +03:00
esef b1e06a4cec Update timestamp command to use '!time' 2026-07-25 13:17:28 +03:00
esef 66f9eb774c add bucketlist access control, drop credential hashing, gitignore radio_check 2026-07-25 13:10:00 +03:00
esef d1536666f7 radio: add Gensokyo Radio API poller for rich now-playing embeds 2026-07-25 12:57:39 +03:00
esef 3d2d19b0b7 radio: update The Jazz Groove URL (migrated to radiomast.io), add to ICY supported list 2026-07-25 12:39:02 +03:00
esef 82d07eac3d remove dead country_autocomplete function from tz_data 2026-07-23 23:47:23 +03:00
esef b51967dc9b fix timestamp_friends: ignore ordinal suffixes (st/nd/rd/th) in bare-hour regex 2026-07-23 23:45:04 +03:00
esef c485c4f6bf shortenecd ocmmmnand 2026-07-23 23:38:40 +03:00
esef 89d7f4289f "/" prefix bad "!" prefix good 2026-07-23 21:49:14 +03:00
esef 7c2fd2a1ac clean up firebase_website: offload cpu_percent to thread, cache fastfetch, fix regex, drop processes 2026-07-22 22:21:23 +03:00
esef ab3265667c remove dead _all_formats helper, fix docstring 2026-07-22 19:44:32 +03:00
esef 4bb4fec2c5 gitignore: add _get_id.py and AGENTS.md, untrack AGENTS.md 2026-07-22 19:28:04 +03:00
esef 09f69e1c83 simplify /timestamp to single Long Date+Time output, fix timestamp_friends HAS_DATEPARSER NameError 2026-07-22 18:26:03 +03:00
esef bf4ea13d4b bucketlist feature added 2026-07-20 23:16:25 +03:00
esef 14926aa77b Merge branch 'main' of https://github.com/esefxdz/discordbot 2026-07-20 22:22:56 +03:00
esef 16cef19077 trigger removal: no longer needed 2026-07-20 22:22:39 +03:00
esef bce4d268a5 Remove 'archive' extension from bot loading
Removed loading of the 'archive' extension from the bot.
2026-07-20 22:19:43 +03:00
esef 8ec13d9c13 Delete cogs/archive.py 2026-07-20 22:19:16 +03:00
esef bbee62f2d9 fix timestamp_friends: normalize N am/pm, fix 3:00 double-colon, AM fallback when PM past 2026-07-20 22:15:45 +03:00
esef 697012963a simplify timestamp_friends: single tag reply, bare hour fallback, shared utils in tz_data 2026-07-20 21:54:40 +03:00
esef 7018366068 new timestamp feature and make tz data shared across cogs that need it 2026-07-20 21:18:43 +03:00
esef 7d754367ae add timeouts to tg download, fix ffprobe tempfile leak 2026-07-18 13:57:29 +03:00
esef 5e69d316db forwarder polish 2026-07-18 13:53:58 +03:00
esef e11d712ba0 disable twitter bridge, fix rss stale-feed duplicate spam 2026-07-18 13:34:19 +03:00
esef ff8696850f add calendar link to booking confirmation, add !koharu command 2026-07-17 13:35:05 +03:00
esef 300f2fa8f0 harden twitter rss forwarder with timeout, rotation, link-only posts 2026-07-16 12:26:32 +03:00
esef b7c11cf51a calendar polishes 2026-07-15 13:11:13 +03:00
esef 6be198cb31 koharu update dynamic this time (my idea didnt work) 2026-07-14 17:25:20 +03:00