Commit Graph

55 Commits

Author SHA1 Message Date
jan6 0ab6316a1d now with ctcp version and finger support! 2023-07-08 13:30:44 -05:00
jan6 83754f44cb idk, added version command, youtube displays view count now... 2023-07-08 13:08:25 -05:00
jan6 a84639237e fix youtube titling failing sometimes due to youtube being a f*in annoying, also should be faster by eliminating unnecessary request 2023-05-08 09:15:23 -05:00
jan6 ce4ad587c3 prioritize youtube command over others
kind of a workaround, idk
2023-04-08 02:28:13 +03:00
jan6 8dcd8e9b9c prevent echo abuse (ctcp messages, invoking other bots), fix "<urlopen error unknown url type: " errors with youtube, only error once per batch of youtube links 2023-03-17 16:32:28 -07:00
jan6 6bda69aaf3 fix a bug introduced a while back, where including any http:// or https:// url in the line would make bot6 think it was a valid command
now only specific commands allow that, otherwise it's discarded (but not exactly ignored)
2022-12-05 18:21:01 -08:00
jan6 02fe01fa2c fix quit command 2022-10-22 21:41:16 +03:00
jan6 f7a7dc40dc squery nickserv when possible 2022-10-22 11:28:19 -07:00
jan6 6bdd3915e1 support for hostmask matching, and a little bit better nickserv auth 2022-10-22 20:28:15 +03:00
jan6 345f689e3d make the new config system actually fully reloadable
also removed a few leftover lines from commands.py
2022-10-05 05:41:01 -07:00
jan6 7586114e73 made nickserv auth less race-condition-ey 2022-10-05 05:04:56 -07:00
jan6 87c5f14218 allow ignoring other bots 2022-10-04 19:24:25 -07:00
jan6 1808fa74f0 rework config to be more flexible, and comment more
idk about stuff.py's changes
2022-10-04 19:05:55 -07:00
jan6 f722589c3e hopefully will handle ngircd's weirdness better 2022-10-04 17:58:16 -07:00
jan6 de40a7468e style format 2022-09-26 15:11:51 -07:00
jan6 4f8da680d6 attempt to set more sensible message length limits 2022-09-26 15:09:44 -07:00
jan6 19e223ef99 support youtube shorts 2022-09-26 14:16:34 -07:00
jan6 6500a4e12c support YouTube Music 2022-09-14 18:35:23 +03:00
jan6 6b5080220f few bytes of refactoring 2022-09-14 17:54:53 +03:00
jan6 2b3e4af15a fix it harder 2022-09-14 17:14:43 +03:00
jan6 6f3bda8a46 attempt to not crash on empty message 2022-09-14 17:10:04 +03:00
jan6 8f34fd71a9 fix self renaming a bit (every auth() will try to re-nick) 2022-09-12 06:51:02 -07:00
jan6 e9636e8164 aome nickserv auth tweaks 2022-09-12 14:33:37 +03:00
jan6 e07f7bfe68 crude refactor to allow re-authing with nickserv if lost auth (e.g. some netsplits/server maintenances) 2022-08-30 02:35:21 +03:00
jan6 2d6d86fdb7 removed black background from youtube error because xfnw/vulpine whined about it 2022-08-23 22:18:48 +03:00
jan6 3bd2c2dfb0 youtube module, error when incorrect url (or otherwise failed to parse data from server) 2022-08-23 20:47:32 +03:00
jan6 03e3980d10 enable calling youtube.py from cli 2022-08-23 14:11:47 +00:00
jan6 d5f6f0a7bc I think this fixes youtube alternate urls, bonus: now embed links work also! 2022-05-23 20:05:10 +03:00
jan6 7c966381fe try to auto-reconnect when disconnected (not crashed), and don't break when there's no MOTD?
hopefully this stuff works, lol
2022-05-13 22:27:11 +03:00
jan6 7d48fa6889 fixed weather crashing when 404 2022-03-17 20:34:40 +02:00
jan6 27c0073d2a fixed weather url encoding 2022-02-08 01:00:40 +02:00
jan6 526dca8c86 added nickserv auth 2022-02-07 18:28:19 +02:00
jan6 d39b1fddbc youtube module time format tweak 2022-02-07 05:58:22 +02:00
jan6 956e4290cd added crude weather command and youtube module handles livestream timestamps 2022-02-07 05:55:19 +02:00
jan6 5f78254e63 youtube links in /me messages work now (or other ctcp messages) 2022-01-11 19:29:42 +02:00
jan6 93c00542d5 italicize the channel name for youtube...for no reason 2021-11-24 23:44:42 +02:00
jan6 baa107fdfa youtube auto-titling now works inline too, and for multiple urls also 2021-11-24 23:01:59 +02:00
jan6 fb01696636 added autojoin list option 2021-11-07 12:38:04 +02:00
jan6 f62f3d6e68 handle no tags at all without crashing
(hopefully)
2021-11-07 12:27:04 +02:00
jan6 cc5f92ecbf allow text after youtube url 2021-10-10 19:31:30 +03:00
jan6 fcf70d344d added /me 2021-10-08 00:22:53 +03:00
jan6 0c84a52bc7 added timestamps 2021-10-07 22:36:09 +03:00
jan6 5412493052 added general notice support, switched to libera.chat, handle messages without tags 2021-10-07 22:22:45 +03:00
jan6 5bc9edd5c6 youtube is a thing now! 2021-10-05 16:18:25 +03:00
jan6 48a3dba154 added DEL to the escaped characters 2021-10-04 19:32:47 +03:00
jan6 3ae614ddf8 readme 2021-10-04 19:08:52 +03:00
jan6 a7eac6a0b0 added ctcp and internal commands and escapes for \x00-\x1f bytes 2021-10-04 18:51:25 +03:00
jan6 c25407dd33 reformatted code with "black" 2021-10-04 15:48:10 +03:00
jan6 85d7a3e4d2 idk, allowing to disable commands, moved all except eval/exec/reload into commands module, swapped around utils' argument order to funzies, idk what else, lol 2021-10-04 00:36:22 +03:00
jan6 405b756d88 fixed crash when user doesn't have "account" tag 2021-10-03 16:22:50 +03:00