Upgradability Disclaimer:
This version is NOT drop-in-replace backwards-compatible to 2.16.1 and requires manual modification due to the new structure of config files.
This will not affect you if you're a brand new user.
Changelog:
- The config file has been split into the
config/directory.data/localeshas been moves toconfig/locales.- Removed option to disable message reproduction in ticket, this will now always be true.
Fixes:
- Config comments have been revised and some corrected.
- Removed the long-deprecated
timeproperty from prompts config.- Aesthetical changes to en-US lang comments.
Feature update coming soon.
- Cleaned up package.json scripts.
- Removed "clean" script, instead now uses
rm -rfinline.- TypeScript sourcemaps are now generated and enabled when using
npm run startwhich means typescript file paths will be referenced in error traces instead of built javascript files.
Changes:
- The bot can now change the status. Refer to config changes.
Config changes:
- Added status to config. Add the below at the top level of your config:
YAML:status: status: "online" # or "dnd" or "idle" or "invisible" activity: "Your Activity Name" # or "" for no activity
Developer Notes:
- Upgraded several packages to latest versions.
- Changed module type to
NodeNextto support the packagehono.strip-indenthas been merged into the codebase directly with original creator's credit given above.
- The base (
/) and IPN route (/ipn) now respond with a HTML page to GET requests that displays a success message.- The response to
/invoice cancelis no longer ephemeral.- Fixed trace log typo.
- Changed 2 newlines after each message to one in the transcript file.
- Gateway notes & memos will no longer display "null" if the invoice was generated in a support ticket.
- Fixed transcripts not being saved when sending messages as a user through the API.
- It's now possible to send messages as a user in tickets through the API.
- Added a button that allows users to cancel their pending ticket. This feature can be toggled by setting
tickets.allowCancellationin config.- The default config will now be copied over automatically, if a valid config is not found.
- The bot can now be run using
node index.jsinstead of onlynode dist/index.js.- Fixed Unarchive button incorrectly saying "Archive" despite having the unarchive emoji.
- Better config validation for prompts.
- Other bug fixes.
