2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-31 06:26:04 +00:00
Commit Graph

424 Commits

Author SHA1 Message Date
Nick80835
b5c9ecdb62 add db statistics command 2023-10-16 09:54:11 -04:00
Nick80835
05a3b5a14e add ChatWrapper cache, simplify disabled commands 2023-10-16 09:54:11 -04:00
Nick80835
70400d80cb lstrip -> removeprefix 2023-10-16 09:54:11 -04:00
Nick80835
b69ecd1a40 return ChatWrapper from db get_chat 2023-10-16 09:54:11 -04:00
Nick80835
2189e8d955 fix nsfw spoilering in booru buttons 2023-10-16 09:54:10 -04:00
Nick80835
b8b42eab18 fixup booru safety 2023-10-16 09:54:10 -04:00
Nick80835
ea755795ce print exceptions in exec and eval 2023-10-16 09:54:10 -04:00
Nick80835
f5c7855922 print traceback on module load failure 2023-10-16 09:54:10 -04:00
Nick80835
9116e21d06 remove cli api id and bot token input 2023-10-16 09:54:10 -04:00
Nick80835
42ccbfd1c4 make logs more consistent 2023-10-16 09:54:10 -04:00
Nick80835
300ccd9e31 add uptime to alive 2023-10-16 09:54:10 -04:00
Nick80835
c1b0b10017 implement update command and improved stop_client 2023-10-16 09:54:10 -04:00
Nick80835
7a2cb4f204 use global aiohttp client in reddit 2023-10-16 09:54:10 -04:00
Nick80835
edd35a0060 handle worthless exceptions properly 2023-10-16 09:54:10 -04:00
Nick80835
b508240949 Switch to friendly method spoilering 2023-10-16 09:54:10 -04:00
Nick80835
a64923d049 Switch to my Telethon fork 2023-10-16 09:54:10 -04:00
Nick80835
99177b70ed use get_chat for chat_db fetching 2023-10-16 09:54:10 -04:00
Nick80835
7c41d9506a use rapidjson 2023-10-16 09:54:10 -04:00
Nick80835
23196c0b49 update Telethon to 1.28.5 2023-10-16 09:54:10 -04:00
Nick80835
5c0e5d9cbe update Telethon to 1.28.0 2023-10-16 09:54:10 -04:00
Nick80835
aab5f53e29 add animated formats to booru's ext regex 2023-10-16 09:54:10 -04:00
Nick80835
9f9923ff17 add support for buttons in inline responses 2023-10-16 09:54:10 -04:00
Nick80835
f5be398bf6 fix booru shit 2023-10-16 09:54:10 -04:00
Nick80835
bd5ed3a65a bump asyncbooru req to 0.0.8 2023-10-16 09:54:10 -04:00
Nick80835
7e8abbc330 tweak nsfw check in booru 2023-10-16 09:54:10 -04:00
Nick80835
601890f3af I'll just upgrade manually in the command line
vgh
2023-10-16 09:54:10 -04:00
Nick80835
721a414336 fuck you I fucking blow ass at sqlite 2023-10-16 09:54:10 -04:00
Nick80835
9d75df74ea bump asyncbooru requirement 2023-10-16 09:54:10 -04:00
Nick80835
2d75f53927 implement nsfw spoilers 2023-10-16 09:54:10 -04:00
Nick80835
800dd32c31 add chat_db to callbacks 2023-10-16 09:54:10 -04:00
Nick80835
6c12cd30db fix spoilernsfw hint 2023-10-16 09:54:10 -04:00
Nick80835
7bd2aa02ca implement nsfw spoiler toggle 2023-10-16 09:54:10 -04:00
Nick80835
8339982ac4 implement nsfw spoiler db entry 2023-10-16 09:54:10 -04:00
Nick80835
29c031dcf3 update Telethon to 1.27.0 2023-10-16 09:54:09 -04:00
Nick80835
57edbdce8e update Telethon to 1.26.1 2023-10-16 09:54:09 -04:00
Nick80835
c6f5151fdc sorta support topics 2023-10-16 09:54:09 -04:00
Nick80835
82d38600b5 cryptg again
fucking rust compiler ate my storage
2023-10-16 09:54:09 -04:00
Nick80835
883fe9f05f update telethon, remove cryptg dep 2023-10-16 09:54:09 -04:00
Nick80835
c47449b246 bump telethon to 1.25.4 2023-10-16 09:54:09 -04:00
Nick80835
f47116ec55 nothing is happening
out of the ordinary, I mean
2023-10-16 09:54:09 -04:00
Nick80835
003d529467 remove removed neko types 2023-10-16 09:54:09 -04:00
Nick80835
a957f99737 update requirements 2023-10-16 09:54:09 -04:00
Nick80835
e9c68f6beb add command.filter, like func in Telethon
also continue where returns were previously
2023-10-16 09:54:09 -04:00
Nick80835
52095122ec I am an idiot 2023-10-16 09:54:09 -04:00
Nick80835
db6f1d6d67 remove excessive logging 2023-10-16 09:54:09 -04:00
Nick80835
5b2e1f44d6 dont error when bot is muted 2023-10-16 09:54:09 -04:00
Nick80835
7f3c8bc433 remove suggest 2023-10-16 09:54:09 -04:00
Nick80835
7006b93da6 remove import for pafy
im rarted
2023-10-16 09:54:09 -04:00
Nick80835
baa4e043b0 remove uvloop 2023-10-16 09:54:09 -04:00
Nick80835
e6831b158c remove youtube 2023-10-16 09:54:09 -04:00