Skip to content

Releases: totigm/bot-builder

v1.2.1

11 Mar 09:34
Compare
Choose a tag to compare

🐛 Fix no command bug

This release fixes a bug that made the bot crash when a message with the command symbol by itself was received.

Example:

Receiving a message ! without any content would make the bot crash, !a wouldn't.

Full Changelog: v1.2.0...v1.2.1

v1.2.0

14 Jan 11:16
Compare
Choose a tag to compare

✨ Add Map for Command Arguments

Introduced a feature to map command arguments to their respective values. This enhancement facilitates the efficient handling and retrieval of command argument data in a more structured manner.

Example:

From the message !command text="Hey there!" testing stage=development, an argsMap object is created. This object makes it easy to access the individual arguments and their values (or true if they are flags). Here's how the argsMap would look for this command:

{
    text: "Hey there!",
    testing: true,
    stage: "development"
}

Changelog:

  • ✨ Add map for command arguments
  • 🎨 Improve argument parsing logic
  • ♻️ Refactor argument handling in formatMessage

Full Changelog: v1.1.1...v1.2.0

v1.1.1

30 Aug 09:09
Compare
Choose a tag to compare

🐛 Add tslib to prod dependencies instead of dev dependencies

Full Changelog: v1.1.0...v1.1.1

v1.1.0

18 Aug 18:57
Compare
Choose a tag to compare

✨ Add authData to bot options

Add option with data that will be passed to the auth method. Could be tokens, or whatever you need.

Changelog:

  • ✨ Add authData to bot options
  • 📝 Add authData docs
  • 📝 Update help command images

Full Changelog: v1.0.5...v1.1.0

v1.0.5

17 Aug 15:09
Compare
Choose a tag to compare

Changelog:

  • 📝 Add description to specificHelpMessage docs

Full Changelog: v1.0.4...v1.0.5

v1.0.4

17 Aug 15:02
Compare
Choose a tag to compare

✨ Add specific help suggestion to general help command

The general help command didn't suggest to use the specific help one, now it does.

specific help suggestion on general help command

Changelog:

  • ✨ Add specific help suggestion to general help command
  • 💄 Add bold to example input on specific help
  • 📝 Update docs

Full Changelog: v1.0.3...v1.0.4

v1.0.3

16 Aug 09:51
Compare
Choose a tag to compare

🐛 Fix specific help without example output

The bot crashed when a user asked for specific help for a command that didn't have an example.output in the Documentation object.

Changelog:

  • 🐛 Fix specific help command

Full Changelog: v1.0.2...v1.0.3

v1.0.2

14 Aug 14:52
Compare
Choose a tag to compare

🐛 Fix help suggestion

The bot sent the ✅ emoji instead of ❓ when suggesting the help command

Changelog:

  • 🐛 Fix help suggestion emoji
  • 💚 Update workflows
  • 🔨 Update scripts
  • 📝 Update docs
  • 🔧 Update configs

Full Changelog: v1.0.1...v1.0.2

v1.0.1

11 Aug 12:06
Compare
Choose a tag to compare

🐛 Fix specific help without docs

The bot crashed when a user asked for specific help for a command that didn't have a Documentation object.

Changelog:

  • 🐛 Fix specific help command
  • 📝 Update docs

Full Changelog: v1.0.0...v1.0.1

v1.0.0

10 Aug 13:29
Compare
Choose a tag to compare

This release is the first stable version.

Changelog:

  • 🔧 Add configurations
  • 🚨 Add ESLint
  • 💄 Add Prettier
  • 🎉 Add project
  • 🏷️ Add types
  • 📝 Add docs
  • 👷 Add CICD

Full Changelog: https://github.com/totigm/bot-builder/commits/v1.0.0