2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-23 10:38:51 +00:00

58 Commits

Author SHA1 Message Date
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
Nick80835
356330de4c fix inline flags 2023-10-16 09:54:03 -04:00
Nick80835
65fbed1480 add an easier flags variable
this also fixes a bug
2023-10-16 09:54:03 -04:00
Nick80835
b28abaec50 add support for multiple command prefixes 2023-10-16 09:54:03 -04:00
Nick80835
a39ddaf588 actually good admin check this time 2023-10-16 09:54:03 -04:00
Nick80835
6dee37c81f switch to slightly more reliable admin check 2023-10-16 09:54:03 -04:00
Nick80835
16004a3737 fix a serious typo 2023-10-16 09:54:02 -04:00
Nick80835
edb6485243 switch to lists for all commands 2023-10-16 09:54:02 -04:00
Nick80835
228e293cf5 add userlocking 2023-10-16 09:54:02 -04:00
Nick80835
7370d50f91 add lockreason 2023-10-16 09:54:02 -04:00
Nick80835
82312d7646 add locking of commands 2023-10-16 09:54:02 -04:00
Nick80835
b91cce15ba add maybe broken support for callback queries 2023-10-16 09:54:02 -04:00
Nick80835
a2a5eadab5 add inline sauce links 2023-10-16 09:54:02 -04:00
Nick80835
8622e74d04 fix some shit again 2023-10-16 09:54:02 -04:00
Nick80835
62b13f4803 fix inline 2023-10-16 09:54:02 -04:00
Nick80835
16f12b0327 add sudo users setting, add owner level commands, add more shit 2023-10-16 09:54:02 -04:00
Nick80835
eacd849cdf rename check_admin to is_admin 2023-10-16 09:54:02 -04:00
Nick80835
3b5e2d43ef add a bot-wide user blacklist 2023-10-16 09:54:02 -04:00
Nick80835
105f344d69 smol fix for an id inconsistency 2023-10-16 09:54:02 -04:00
Nick80835
9328e621af switch owner ids to a list config 2023-10-16 09:54:02 -04:00
Nick80835
f7b01bcebc small fixup and implement nsfw filtering 2023-10-16 09:54:02 -04:00
Nick80835
252fb65aa9 add support for NSFW toggles and admin-level commands 2023-10-16 09:54:01 -04:00
Nick80835
2e83a5aa83 enable gallery for inline photos 2023-10-16 09:54:01 -04:00
Nick80835
91d1dba209 add support for inline article results 2023-10-16 09:54:01 -04:00
Nick80835
da77e236f7 catch QueryIdInvalidError moar gooder 2023-10-16 09:54:01 -04:00
Nick80835
5b43817887 rework inline photos significantly 2023-10-16 09:54:01 -04:00
Nick80835
7eab644eaf remove debug oops 2023-10-16 09:54:01 -04:00
Nick80835
6a819878ea implement kinda quirky inline stuff 2023-10-16 09:54:00 -04:00
Nick80835
3751d7de9a add an extras variable for extra stuff idk 2023-10-16 09:54:00 -04:00
Nick80835
5cd6321ca5 add event.args 2023-10-16 09:54:00 -04:00
Nick80835
16d3e99468 fixup @username command args 2023-10-16 09:54:00 -04:00