Jordyn
e682656fe5
Fix die bot command to actually terminate the program
...
Specifically, this corrects interrupting the main thread as it was waiting on input() if it is a tty.
Server.die() was changed to bypass the sendq for final IRC messages for a quick termination and to interrupt the main thread with os.kill and SIGINT.
This way the code exits gracefully and properly tears the connection down.
2026-03-14 18:55:53 -05:00
Jordyn
608b8e3cad
Fix INVITE code again
...
This adds it to the channel list so it gets PART'ed correctly
2026-03-14 18:19:17 -05:00
Jordyn
ca21c914ef
Avoid 100% CPU loop during heavy usage
2026-03-14 04:45:57 -05:00
Jordyn
2fbc2cf051
Fix BrokenPipeError Handling
2026-03-14 04:41:16 -05:00
Jordyn
0febb315c3
Allow for running this bot without a valid stdin
...
Specifically, if rawcmd's input fails, it will just wait for the going down signal.
2026-03-14 04:32:11 -05:00
Jordyn
a5134ade39
Add privmsg command for less verbose messaging
...
_msg_q was also refactored to _send_q to better represent what it is
2026-03-14 04:23:53 -05:00
Jordyn
72464611a8
Fix INVITE command
2026-03-14 03:52:33 -05:00
Jordyn
c1d9da8ef8
Improve ping support to avoid ping timeouts
...
Specifically the ping is moved to the message throttling code so that every 10th
message triggers a ping.
This also allows for me to remove the multiple ping handlers.
2026-03-14 03:47:00 -05:00
Jordyn
4fab129a1e
Add configuration file support
2026-03-14 03:42:04 -05:00
Jordyn
012ba9fc2f
Move PRIVMSG parsing code to _parse_message
2026-03-14 00:57:09 -05:00
a-bad-dev
d189fdd5b1
Merge branch 'main' into main
2026-03-14 02:28:57 -03:00
a-bad-dev
ed44eb7c3c
remove default values
2026-03-14 02:25:11 -03:00
Jordyn
fdb305e822
Generalize some info and allow for a list of bot oppers
2026-03-14 00:22:15 -05:00
Jordyn
fe6727c3c1
Rewrite main.py to be multithreaded and more stable
2026-03-14 00:11:15 -05:00
a-bad-dev
cd7da8ae82
Use .join() in a few places
2026-02-28 09:00:21 -04:00
a-bad-dev
74b3b0d0c4
Make commands multithreaded
2026-02-23 11:57:51 -04:00
a-bad-dev
216afac3f2
Fix invalid UTF-8 bytes in output crashing the script
2026-02-20 23:28:56 -04:00
a-bad-dev
c2f78d79d8
split the message *after* printing it
2026-02-20 22:46:08 -04:00
a-bad-dev
586cf1ad90
Rewrite most of the script (especially the message parser)
2026-02-19 23:29:04 -04:00
a-bad-dev
f87b1f9d71
Add main.py
2026-02-17 19:02:29 -04:00