Nick80835
|
b5a21c03ef
|
add silent_bail
|
2023-10-16 09:54:09 -04:00 |
|
Nick80835
|
ea02b42c2c
|
use setters and getters for some db functions, more event.prefix
|
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
|
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
|
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
|
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
|
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
|
748b2caded
|
beefier UD
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
8dbf05ba8c
|
cleanup because im rarted
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
769fae21b1
|
dont execute forwarded commands
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
044230015c
|
fucktarded shit
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
f8b28157be
|
handle anonymous admins
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
9448539c73
|
add ability to disable link preview for inline articles
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
4fffbfac8b
|
license
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
5bba4d6786
|
only process events with text to process
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
9ff7053b78
|
handle exceptions better
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
6abd7e426e
|
ignore exceptions caused by trying to report an exception
|
2023-10-16 09:54:07 -04:00 |
|
Nick80835
|
061fef48e2
|
add event.command as data_id to callback queries
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
5896f9d151
|
add extra to inline commands
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
a17651d70f
|
improve raw_pattern
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
293edf11ed
|
add a special exception reporting mechanism because fucking heroku
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
11092e8278
|
switch to sender_id for most things
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
214b6e4e27
|
switch to new telethon method for checking admin
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
24fe1b318e
|
yeet the fucking fuck
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
f25806b16b
|
add support for pattern_extra in inline commands
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
c66878d508
|
rename command_object to just object because its shorter
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
64e2b82054
|
add the command object to event
|
2023-10-16 09:54:06 -04:00 |
|
Nick80835
|
686bf7d8c0
|
move to Command and friends to represent loaded commands
|
2023-10-16 09:54:05 -04:00 |
|
Nick80835
|
eebe3f8a1a
|
less ugly error messages
|
2023-10-16 09:54:05 -04:00 |
|
Nick80835
|
31174ec859
|
add warnings for insufficient permissions and nsfw being disabled
|
2023-10-16 09:54:05 -04:00 |
|
Nick80835
|
9dfe62bbaf
|
prevent owner and sudo from being locked out on blacklist
|
2023-10-16 09:54:05 -04:00 |
|
Nick80835
|
b16bdbb366
|
add command disabling and a database
|
2023-10-16 09:54:05 -04:00 |
|
Nick80835
|
ad0517591e
|
add add_dict and tweak extras
|
2023-10-16 09:54:05 -04:00 |
|
Nick80835
|
69562dcf0b
|
add fun disable
|
2023-10-16 09:54:05 -04:00 |
|
Nick80835
|
c59feffe15
|
stuff and things
|
2023-10-16 09:54:04 -04:00 |
|
Nick80835
|
cc1ec39e53
|
what the fuck have I done
|
2023-10-16 09:54:04 -04:00 |
|
Nick80835
|
32110cf291
|
oopsie poopsie
|
2023-10-16 09:54:04 -04:00 |
|
Nick80835
|
1edcc581b4
|
add chance parameter
|
2023-10-16 09:54:04 -04:00 |
|
Nick80835
|
084d0d6128
|
use raw_text
|
2023-10-16 09:54:04 -04:00 |
|
Nick80835
|
552383dce0
|
its fookin raw
|
2023-10-16 09:54:03 -04:00 |
|
Nick80835
|
83b492f40b
|
rework noprefix
|
2023-10-16 09:54:03 -04:00 |
|
Nick80835
|
0b2d46e756
|
strip args
|
2023-10-16 09:54:03 -04:00 |
|
Nick80835
|
87dd2934bd
|
implement pass_nsfw
|
2023-10-16 09:54:03 -04:00 |
|
Nick80835
|
b654e18605
|
add a command prefix helper to loader
|
2023-10-16 09:54:03 -04:00 |
|