Skip to content

v0.0.3

Choose a tag to compare

@xuelink xuelink released this 26 May 15:28
· 77 commits to main since this release
1351ab0

New Features

  • Added async function to handle API requests and respond with a personalized message.

Enhancements

  • Updated chat history and instructions files.
  • Improved AI chat handler module.
  • Updated bot.js to handle direct messages and restricted the bot from responding to direct messages.
  • Added input validation and sanitization for user messages in bot.js.
  • Updated environment variables and code for better error handling in index.js.
  • Added system instructions and chat history files.
  • Updated JSON parsing in bot.js.
  • Improved error handling and log request data in index.js.
  • Updated index.js to use ES6 module syntax and removed unnecessary code.

Bug Fixes

  • Removed unnecessary code in index.js.
  • Improved error handling in index.js.

Refactoring

  • Updated AI chat handler module, safety settings, and environment variables.
  • Restricted direct messages to the bot in Discord by adding intent for direct messages and enabling partials in bot.js.
  • Updated environment variables in .env.sample and README.md.

Full Changelog: v0.0.2...v0.0.3