This repository was archived by the owner on Sep 10, 2024. It is now read-only.
v0.7.0
New features:
- Add auto-renick functionality, to renick to config nickname if the bot receives an
err_nicknameinuseevent and theautoRenickconfig option is enabled (relatedly: add acancelAutoRenickmethod) – fixes #15 - Disallow
connect()when already connected (output to stderr and ignore) - Likewise disallow
disconnect()when already disconnected - Add new
unhandledevent for when a message is received that isn't handled internally (not handled otherwise, not recognized as an error) - Debug when line received from server
- Debug on ping timer start and stop
Fixed bugs:
- Flag code 477 as an error (
ERR_NOCHANMODESorERR_NEEDREGGEDNICK, not given a human-readable name due to ambiguity) – fixes #19 - Only autorejoin when the client itself is kicked; add tests for autorejoin
- Emit the
errorevent after the output more consistently - Add test for strict parsing mode
- Add test for CyclingPingTimer
- Reduce chance of random failure in tests (by not initializing a server when we disconnect the client without any server interaction)
- Debug CyclingPingTimer to stdout instead of stderr
- Run linting in
posttestphase
Misc:
- Add code coverage using
nycandcoveralls - Rename
test-433-before-001totest-nickinuse-before-welcome; move some fixtures into the test itself - Reword some tests, add skeleton for more tests (hopefully these will be implemented soon)
- Docs: Update CONTRIBUTING.md to reflect fork
- Docs: Reorder events and methods in documentation to hopefully be more relevantly grouped
- Docs: Update
whoisexample - Docs: Clean up some comments in the code
- Docs: Add
netErrorevent (emitted when the socket connection to the server emits an error event – see net.Socket for more details) - Docs: Fix some typos
- Docs: Reorder config options to have the order match between the object and the later paragraphs