Info:
deltachat-node-bot-base
is currently unmaintained, so if you want all newer features you should go with@deltachat/napi-jsonrpc
. see @deltachat/napi-jsonrpc Example
This is an makes use of
deltachat-node-bot-base
an abstraction Layer overdeltachat-node
which does the initial setup for you. It is opinionated (makes some design decisions for you, like the used config module) -> If you want more control look at our other echo-bot example that usesdeltachat-node
directly: Advanced Example
install dependencies with npm install
Configure the bot by writing its email-address and password into config/local.json
like this:
{
"email_address": "[email protected]",
"email_password": "secretandsecure"
}
run the bot:
node .
If you got any questions reach out to us: https://bots.delta.chat/contact.html