Skip to content

v1.3.0

Latest
Compare
Choose a tag to compare
@AstroCB AstroCB released this 01 Aug 10:41
fb968a4

New minor version.

Changes:

  • Added automatic publishing on new releases with GitHub Actions.
  • Added a test suite run by GitHub Actions.
  • To support the above, added a BotCore option to programmatic init.
    • To use this, pass an object with a usingBotCore property set to true for your creds parameter.
    • Interactive initialization will not work here for obvious reasons, so if you don't have an existing config file, you can set an MNOTIFY_RECEIVER_ID environment variable to specify the receiver.
  • Calling programmatic init without an existing config file will no longer fall through to interactive initialization; it will now return an error in the callback.
    • If you need to call init from a fresh environment where interactive initialization cannot be run (like a Docker container), expose MNOTIFY_RECEIVER_ID as described above (this is how the test suite is implemented).