2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-22 01:58:17 +00:00

486 Commits

Author SHA1 Message Date
Nick80835
9035363b80 move log config out of bot init 2023-10-16 19:06:34 -04:00
Nick80835
22f51784f5 we need python 3.9 now 2023-10-16 19:02:11 -04:00
Nick80835
115fa99209 gracefully handle keyboardinterrupt 2023-10-16 18:40:25 -04:00
Nick80835
15007e5b27 add rough ban and kick commands
sudo-only for now
2023-10-16 18:37:23 -04:00
Nick80835
e6b2bcbfbc facilitate modmode commands 2023-10-16 18:13:41 -04:00
Nick80835
f588111344 rework startup 2023-10-16 14:32:57 -04:00
Nick80835
dbd7a564c3 forgot to remove a silent bail check 2023-10-16 09:54:11 -04:00
Nick80835
e75f9b13f5 remove useless chat_db definition 2023-10-16 09:54:11 -04:00
Nick80835
09ee6a4608 add a client shortcut to eval/exec 2023-10-16 09:54:11 -04:00
Nick80835
07a5cdbcb2 improve sudo/blacklist handling 2023-10-16 09:54:11 -04:00
Nick80835
2068bce8ff improve priv check, implement priv callbacks 2023-10-16 09:54:11 -04:00
Nick80835
cbd4b47e6d add nice error messages to booru 2023-10-16 09:54:11 -04:00
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