Releases: totigm/bot-builder
v1.2.1
🐛 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
✨ 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
🐛 Add tslib
to prod dependencies instead of dev dependencies
Full Changelog: v1.1.0...v1.1.1
v1.1.0
✨ 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
v1.0.4
✨ Add specific help suggestion to general help command
The general help command didn't suggest to use the specific help one, now it does.
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
🐛 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
🐛 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
🐛 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
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