2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-30 22:16:05 +00:00
Commit Graph

369 Commits

Author SHA1 Message Date
Nick80835
b048ffdc74 remove some shit/unused commands 2023-10-16 09:54:09 -04:00
Nick80835
52e26ab0dd make silent_bail work correctly desu, also remove stupid logging 2023-10-16 09:54:09 -04:00
Nick80835
eb0cae58dc fix setters 2023-10-16 09:54:09 -04:00
Nick80835
621f458dff add exec 2023-10-16 09:54:09 -04:00
Nick80835
b0a5efcffb add lang and modmode_enabled to the db 2023-10-16 09:54:09 -04:00
Nick80835
efaa94ecf7 simplify init a bit 2023-10-16 09:54:09 -04:00
Nick80835
b6c5f972f7 remove useless link_preview arg 2023-10-16 09:54:09 -04:00
Nick80835
ba439ab680 replace owner name ping with /suggest 2023-10-16 09:54:09 -04:00
Nick80835
1aa435ef08 add /nsfw hint in /start 2023-10-16 09:54:09 -04:00
Nick80835
1ee416f919 move uvloop import up 2023-10-16 09:54:09 -04:00
Nick80835
d04ce717a9 hide nsfw commands from help when nsfw disabled 2023-10-16 09:54:09 -04:00
Nick80835
08bb3133b4 support docstrings as help strings 2023-10-16 09:54:09 -04:00
Nick80835
abf09414ab underline module names in help 2023-10-16 09:54:09 -04:00
Nick80835
b5a21c03ef add silent_bail 2023-10-16 09:54:09 -04:00
Nick80835
ed76dfa50a update example settings 2023-10-16 09:54:08 -04:00
Nick80835
2aa6a0905c use uvloop when available 2023-10-16 09:54:08 -04:00
Nick80835
f579dca4e9 switch to vanilla telethon with cryptg 2023-10-16 09:54:08 -04:00
Nick80835
18cf18819a annoy me if you want idc 2023-10-16 09:54:08 -04:00
Nick80835
c467873c44 pass on IntegrityError in sudo and blacklist 2023-10-16 09:54:08 -04:00
Nick80835
c52ba0196d small grammar fixes 2023-10-16 09:54:08 -04:00
Nick80835
ea02b42c2c use setters and getters for some db functions, more event.prefix 2023-10-16 09:54:08 -04:00
Nick80835
42f2fb1c75 enable WAL for sqlite 2023-10-16 09:54:08 -04:00
Nick80835
0047faf9a6 make sudohelp less ugly 2023-10-16 09:54:08 -04:00
Nick80835
7e9cd94ff7 increase prefix length limit to 3 2023-10-16 09:54:08 -04:00
Nick80835
7295fabd2c only generate prefix pattern for commands which use it 2023-10-16 09:54:08 -04:00
Nick80835
eed19dde70 remove functions that were moved to ChatWrapper 2023-10-16 09:54:08 -04:00
Nick80835
200ca7067d use BigIntegerField instead of FloatField and IntegerField 2023-10-16 09:54:08 -04:00
Nick80835
f182ac90fb reduce redundant db calls and add event.chat_db 2023-10-16 09:54:08 -04:00
Nick80835
9e8a96d550 clean up old prefix def 2023-10-16 09:54:08 -04:00
Nick80835
93e8f9b5c3 improve help 2023-10-16 09:54:08 -04:00
Nick80835
fd0763f149 add event.prefix 2023-10-16 09:54:08 -04:00
Nick80835
b47088fe4b add custom prefixes 2023-10-16 09:54:08 -04:00
Nick80835
5986870479 switch to peewee and use the database for more stuff 2023-10-16 09:54:08 -04:00
Nick80835
389e980edd me too thanks 2023-10-16 09:54:08 -04:00
Nick80835
c0333a1ac4 no support 2023-10-16 09:54:08 -04:00
Nick80835
36d7103d03 nice command 2023-10-16 09:54:08 -04:00
Nick80835
2626efa37c forgot to remove some stuff 2023-10-16 09:54:08 -04:00
Nick80835
16848b2bf2 tweak pattern templates and fix args starting with newlines 2023-10-16 09:54:08 -04:00
Nick80835
703aa69db3 HNGGHUHGJHGJIHGFFHGV 2023-10-16 09:54:08 -04:00
Nick80835
3e2e3303f3 fix shit 2023-10-16 09:54:08 -04:00
Nick80835
310dc7aaa3 extend events and move a few functions to them 2023-10-16 09:54:08 -04:00
Nick80835
745c2b2c9a I am retarded 2023-10-16 09:54:08 -04:00
Nick80835
77897d21a2 remove duplicate booru commands in help 2023-10-16 09:54:08 -04:00
Nick80835
f33f3c06a1 use other_args instead of checking the command itself 2023-10-16 09:54:08 -04:00
Nick80835
e9243d2138 simplify booru commands 2023-10-16 09:54:08 -04:00
Nick80835
0328df1f79 allow customizing nsfw warnings 2023-10-16 09:54:08 -04:00
Nick80835
93819eacfa reject forwards properly 2023-10-16 09:54:08 -04:00
Nick80835
ff00311655 fix other_args with simple patterned normal commands 2023-10-16 09:54:08 -04:00
Nick80835
14a024fa34 smolcat 2023-10-16 09:54:08 -04:00
Nick80835
f11b294941 chonk 2023-10-16 09:54:07 -04:00