kmua-bot
kmua-bot copied to clipboard
🍥✨ A 💕 Telegram❄️ Bot🍰
简而言之就是 [add title_perssion to ChatData](https://github.com/krau/kmua-bot/commit/12e87692bf978e9e585d167ab7a825b457409123) 给`chat_data`增加了`title_permissions` 但是如果是docker compose部署,从旧镜像(比如 [sha-82b5a8e](https://github.com/users/krau/packages/container/kmua-bot/195020173?tag=sha-82b5a8e) ),直接pull到最新版的镜像(比如[sha-25dec5b](https://github.com/users/krau/packages/container/kmua-bot/212377840?tag=sha-25dec5b)),这部分不会被正确执行。 然后就会疯狂报错 ``` OperationalError:(sqlite3.OperationalError) no such column: chat_data.title_permissions ``` 于是我不得不进docker手动执行了一下alembic upgrade
当图像尺寸过大时, graphviz error: Cannot encode picture as WebP. Error code: 5 (BAD_DIMENSION: Bad picture dimension. Maximum width and height allowed is 16383 pixels.) [render_waifu_graph](https://github.com/krau/kmua-bot/blob/eb7833093ddef1423b32a3c4aa4db66436248263/src/callbacks/waifu.py#L45C59-L45C59) 会空返回, 导致 Telegram Error: BadRequest: File...
加三个加载提示
就像内联状态下那样,原有的随机模式无法在开启禁止转发保存的群组内发送随机语录。 PS:我没测试概率随机发送部分,不过按说我也没动这部分逻辑,应该没问题。
qrand时,bot的机制是转发语录原始消息,但是群组开了禁止保存/转发就GG了😂
Bumps the pip group with 1 update in the / directory: [h11](https://github.com/python-hyper/h11). Updates `h11` from 0.14.0 to 0.16.0 Commits 1c5b075 this time for surer d9c3699 this time for sure... d91b9dd...
## Beep boop. Your images are optimized! Your image file size has been reduced by **5%** 🎉 Details | File | Before | After | Percent reduction | |:--|:--|:--|:--| |...