This is a library to create bots for different platforms. It handles all the commands stuff behind the scenes, so you can focus on your bot's logic.
MIT License
Bot releases are hidden (Show)
This release fixes a bug that made the bot crash when a message with the command symbol by itself was received.
Receiving a message !
without any content would make the bot crash, !a
wouldn't.
Full Changelog: https://github.com/totigm/bot-builder/compare/v1.2.0...v1.2.1
Published by totigm 9 months ago
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.
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"
}
Full Changelog: https://github.com/totigm/bot-builder/compare/v1.1.1...v1.2.0
Published by totigm about 2 years ago
🐛 Add tslib
to prod dependencies instead of dev dependencies
Full Changelog: https://github.com/totigm/bot-builder/compare/v1.1.0...v1.1.1
Published by totigm about 2 years ago
authData
to bot optionsAdd option with data that will be passed to the auth
method. Could be tokens, or whatever you need.
Full Changelog: https://github.com/totigm/bot-builder/compare/v1.0.5...v1.1.0
Published by totigm about 2 years ago
Full Changelog: https://github.com/totigm/bot-builder/compare/v1.0.4...v1.0.5
Published by totigm about 2 years ago
The general help command didn't suggest to use the specific help one, now it does.
Full Changelog: https://github.com/totigm/bot-builder/compare/v1.0.3...v1.0.4
Published by totigm about 2 years ago
The bot crashed when a user asked for specific help for a command that didn't have an example.output
in the Documentation
object.
Full Changelog: https://github.com/totigm/bot-builder/compare/v1.0.2...v1.0.3
Published by totigm about 2 years ago
help
suggestionThe bot sent the ✅ emoji instead of ❓ when suggesting the help
command
help
suggestion emojiFull Changelog: https://github.com/totigm/bot-builder/compare/v1.0.1...v1.0.2
Published by totigm about 2 years ago
The bot crashed when a user asked for specific help for a command that didn't have a Documentation
object.
Full Changelog: https://github.com/totigm/bot-builder/compare/v1.0.0...v1.0.1
Published by totigm about 2 years ago
This release is the first stable version.
Full Changelog: https://github.com/totigm/bot-builder/commits/v1.0.0