Commit graph

246 commits

Author SHA1 Message Date
c13d6c593e
Name change, unsafe to hard-code 2023-11-14 23:06:49 -06:00
d5a1a809e9
Again, move firebot as far from hard-admins as possible 2023-11-14 23:04:27 -06:00
c9a751bece
pull correct data 2023-11-14 22:57:41 -06:00
648f0d9820
Must be STR to concatenate 2023-11-14 22:56:24 -06:00
73b57d8e34
Sanity 2023-11-14 22:55:41 -06:00
3000e313fe
clarity 2023-11-14 22:55:01 -06:00
f368794ee9
use new admin logic 2023-11-14 22:51:14 -06:00
7472669193
drop entries with garunteed host entries 2023-11-14 22:49:20 -06:00
a3e0d44784
commands MUST be all lowercase 2023-11-14 22:47:51 -06:00
fb2f4b7082
Remove debugging log 2023-11-14 22:47:38 -06:00
6adcf4c482
admin check from config, and import config itself rather than sub-parts for consistency 2023-11-14 22:44:54 -06:00
5acd72cb83
per-server hosts 2023-11-14 22:44:38 -06:00
0b05317050
Actually this can be global 2023-11-14 22:39:02 -06:00
07116ab504
less global hosts 2023-11-14 22:38:41 -06:00
7ff4a6169b
Per-server hosts 2023-11-14 22:36:55 -06:00
75278707bb
drop backupbox's admin names 2023-11-14 22:34:01 -06:00
eab0787fff
Allow certain hostnames to have global admin perks 2023-11-14 22:04:34 -06:00
3960ae7f54
Add myself to the admin list 2023-11-14 21:50:30 -06:00
52e514b3a2
Shorter and more pythonic 2023-11-14 18:50:26 -06:00
0930f8b561
Print on bad messages, and I'm stupid. 2023-11-14 18:37:46 -06:00
44a00a1bfd
Fix docstring 2023-11-14 18:03:09 -06:00
11c2426ba4
idiot. 2023-11-14 16:22:46 -06:00
3065a94f8b
Don't return a blank string, that breaks my own code, lmao 2023-11-14 16:20:49 -06:00
11b967ac0a
another type hint 2023-11-14 16:18:41 -06:00
4878ba9165
pyright is stupid, lmao 2023-11-14 16:18:16 -06:00
76697b4a50
That was supposed to return a string, lmao 2023-11-14 16:17:20 -06:00
729111e9b4
And ignore crashing bytes regardless. 2023-11-14 16:16:39 -06:00
b4f8450e7d
SAFELY decode messages. (Silently ignore invalid bytes) 2023-11-14 16:13:26 -06:00
d6932805d6
Basic docstrings 2023-11-14 16:09:38 -06:00
2d62c76c06
Move handling a bit, easier to controll this way. 2023-11-14 15:44:08 -06:00
ab7616670f
This check breaks otherwise. 2023-11-14 15:43:41 -06:00
5c79e1e1a3
Suppress warning if it's a DM to the bot 2023-11-14 15:42:23 -06:00
3098bc8ccf
Add backupbox, bump version 2023-11-13 16:27:20 -06:00
c18027ca9e
Mostly pyright and handler re-works 2023-11-13 15:42:46 -06:00
d050de403e
Gotta return chan now too 2023-11-09 15:42:17 -06:00
fc1aa11f8d
group real imports in bare 2023-11-09 15:37:35 -06:00
b26bd4097f
Formatting 2023-11-09 15:37:08 -06:00
2c10e267e5
Move to handlers for CTCPs 2023-11-09 15:36:34 -06:00
53efdfb830
Make bot extend a bare-bones version of itself so type-hinting works as intended 2023-11-09 15:24:03 -06:00
b90d9c02f3
pyright 2023-11-08 21:41:07 -06:00
d9b42eef4a
Should never happen, but pyright 2023-11-08 21:24:43 -06:00
7d9b147ffd
pyright 2 2023-11-08 21:22:37 -06:00
bbf20bc216
pyright 2023-11-08 21:22:14 -06:00
9bd2ea7e29
Re-work to reloadable handler system 2023-11-08 21:20:50 -06:00
1f4adf21cc
sendmsg -> msg 2023-11-07 22:23:40 -06:00
b1648c7563
Extend possible errors for joining a channel 2023-11-07 22:21:37 -06:00
f876ea3ab1
100th commit! (Add timestamps to logs, and fix long-standing bug with log to err) 2023-11-07 21:59:45 -06:00
6626781dff
Formatting 2023-11-07 21:23:59 -06:00
8cf9154218
Add normal bytes doc to the bytes override 2023-11-07 21:22:36 -06:00
31d7d0fabb
Drop rebt and exit vars, add missing "npallowed" 2023-11-07 21:02:05 -06:00