Commit graph

58 commits

Author SHA1 Message Date
149946b65a
Lots of stuff 2023-11-20 17:52:18 -06:00
7c51c056b0
Type hints and corrections 2023-11-17 23:23:46 -06:00
426011bf4e
Formatting 2023-11-17 21:24:10 -06:00
cc4a4d0e1f
Move all handlers out of bot.py into handlers.py, minor config update 2023-11-17 21:23:19 -06:00
9e0bbf1782
fix logging bug 2023-11-17 20:24:30 -06:00
73b57d8e34
Sanity 2023-11-14 22:55:41 -06:00
fb2f4b7082
Remove debugging log 2023-11-14 22:47:38 -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
b4f8450e7d
SAFELY decode messages. (Silently ignore invalid bytes) 2023-11-14 16:13:26 -06:00
2d62c76c06
Move handling a bit, easier to controll this way. 2023-11-14 15:44:08 -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
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
d9b42eef4a
Should never happen, but pyright 2023-11-08 21:24:43 -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
31d7d0fabb
Drop rebt and exit vars, add missing "npallowed" 2023-11-07 21:02:05 -06:00
d3f4e88934
Formatting 2023-11-07 20:30:35 -06:00
1242aed9b3
Handle nick changes 2023-11-07 20:26:06 -06:00
5ae91f4b26
Ignore self 2023-11-07 20:20:30 -06:00
c4a9815a9c
Strip spaces from commands when declining access 2023-11-07 20:18:33 -06:00
1f7b6d9863
Parse messages and nick to lowercase before parsing 2023-11-07 20:11:24 -06:00
b8cae4e134
config -> conf 2023-11-07 20:02:12 -06:00
1a1cd3e8bd
Monke 2023-11-07 18:30:06 -06:00
374ff215d6
Fix admin check, and fix a un-updated line 2023-11-07 09:19:57 -06:00
1b48269d17
Reload support & minor fixes 2023-11-07 09:05:23 -06:00
fadd8539e6
Remove old refrence to "CTCPHandler" 2023-11-07 08:02:42 -06:00
2c7fbb601b
...And I need to make it "self" calls 2023-11-07 08:02:05 -06:00
ebc98a7267
This handling block is important 2023-11-07 08:01:37 -06:00
28d910c095
Forgot PING of all things. 2023-11-07 07:59:01 -06:00
26e4bd0789
Many small fixes. (MM Phase 6) 2023-11-07 07:53:14 -06:00
8d36b4742e
MAJOR MIGRATION Phase 5 (Closes #6) 2023-11-07 07:25:53 -06:00
8e2edcf79f
Formatting 2023-11-06 23:19:59 -06:00
ed5b9c47e8
MAJOR MIGRATION 4 2023-11-06 23:19:40 -06:00
33eefbbd77
MAJOR MIGRATION 3 2023-11-06 18:18:52 -06:00
53b9194299
"CTCP" -> "kind" inside the CTCP function 2023-11-06 16:49:48 -06:00
f0d50170e3
__init__ must take a self 2023-11-06 16:23:31 -06:00
bd94f1b67f
A bunch of small fixes 2023-11-06 16:20:54 -06:00
1993bcacc6
code 520 2023-11-06 16:04:46 -06:00
3ac17f3a6e
More calls to self, and start trying to move to code-based system 2023-11-06 16:02:57 -06:00
5078821684
Parse status codes instead of the message itself, standardized AND less abusable 2023-11-06 15:34:23 -06:00
5031e39a70
Formatting 2023-11-06 00:33:11 -06:00
cb7acb14cb
Implement the CTCP handler into bot 2023-11-06 00:29:00 -06:00
d8c11dcb25
Implement joining channels into bot 2023-11-05 21:26:41 -06:00
2dc702b4a8
Drop unused vars 2023-11-05 21:19:26 -06:00
f29de567c0
botnick -> nick 2023-11-05 21:08:47 -06:00
26cbe67e6f
socket -> sock 2023-11-05 20:36:33 -06:00