Skip to content

@Davnit Davnit released this Oct 31, 2019

Fixes some pretty annoying bugs from the BNCS command processing changes.

  • Terminal-style command input no longer supported. Use ? in place of spaces in usernames if needed.
  • Errors are now caught and returned when sending raw CAPI messages.
  • Fixes double error when trying to whisper a user not in the channel.
Assets 3

@Davnit Davnit released this Oct 30, 2019

Version 1.2 improves error handling and increases flexibility with commands.

Specifically, you can now use quotes and other terminal-style syntax in commands, for example: /ban "a person with spaces in their name" will actually attempt to ban a user with that entire name (including spaces) instead of just the user "a".

Additionally, if an error occurs while receiving and process packets/messages from either the BNCS or CAPI side, they will be printed to the console along with relevant data dumps. Please include these in any issue reports if they are produced... but make sure not to post your API key!

Assets 3

@Davnit Davnit released this Dec 5, 2018

Version 1.1 contains bug fixes, additional error handling, and improved compatibility with some of the more nuanced features of

  • Improves connection state handling, so hopefully disconnects will be detected more accurately now.
  • Exceptions caught when protocol message handling fails (the API is in alpha and things sometimes change or are not how they should be).
  • Send flag updates on /unignore and include statstrings in these messages.
  • Ignore user updates with no new information.

Some convenience features:

  • Add /capi send command for sending raw messages. First argument is the command and the rest should be a JSON-formatted string containing the payload.
  • Add /capi debug command which will output some information related to the API connection.
  • Add --out-format and --debug-format command-line options, see commit 9f8be1e for more information.
Assets 3

@Davnit Davnit released this Oct 12, 2018

capidaptor version 1 contains all of the basic functionality for interfacing classic bots with the new chat API. This release comes with a pre-packaged EXE that can be run directly.

All of the command-line arguments associated with the script are also supported with the EXE:

  • --interface interface[:port] - changes the network interface that the server listens on. Default is all interfaces.
  • --ignore-unsupported - silently ignores normal commands that are not supported by the chat API instead of returning an error message.
  • --debug - enables debugging mode which shows sent and received packets from both BNCS and CAPI as well as commands.
  • --do-version-check - requests a version check from connecting clients instead of attempting to skip the process. The response to the check still doesn't matter.
Assets 3