Skip to content

Latest commit

 

History

History

python_deltabot_cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Python deltabot-cli

This example is about creating a bot with the bot framework deltabot-cli-py, which gives a hook based interface and a cli interface to configure your bot.

This is a python framework for bots, see ../README.md for other approaches to write bot in python.

Usage

Per default the bot data and configuration is stored in your user directory (Library/Application Support/bot_name/, .config/bot_name/, on windows probably in %APPDATA% ).

You can change configuration location with --config-dir flag (--config-dir PATH or -c PATH).

Setup

Install

# Optional create virtualenv
pip install virtualenv
virtualenv .venv
source .venv/bin/activate

# install rpc server
pip install deltachat-rpc-server

pip install deltabot-cli-py

Configure

python ./echobot.py init [email protected] password

Start

python ./echobot.py serve