An chat bot framework
Project description
Kudubot
master | develop |
---|---|
Kudubot is a chat bot framework designed to work with arbitrary messaging services based on bokkichat connections.
Installation
Installing bokkichat is as simple as running pip install kudubot
, or
python setup.py install
when installing from source.
Implementing a kudubot
To implement a kudubot, you'll need to create a class that inherits from
kudubot.Bot.Bot
and implement the various on_X methods in the way
you want the bot to react.
Kudubot is meant to react on commands like /send 123
. Those are
modelled using CommandParser and Command objects. Those are used to
automatically parse incoming text messages and are sent to on_command
.
If you want complete manual control over what happens with incoming messages,
override the on_msg
method. If you only care about text messages, do the
same for on_text
.
To get an idea of how to implement a kudubot, have a look at some of these sample projects:
Further Information
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kudubot-0.25.0.tar.gz
.
File metadata
- Download URL: kudubot-0.25.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ebf3695ecb1c90da74e36011ebb934c0ab24817d5e971453bff156070ae0f24 |
|
MD5 | cacfb0ed894f87368c01eb95169c4645 |
|
BLAKE2b-256 | 26436cf0d56fcbbc802e8417a8832aea8e38ec58f58b87aaec659faf483fb533 |
File details
Details for the file kudubot-0.25.0-py3-none-any.whl
.
File metadata
- Download URL: kudubot-0.25.0-py3-none-any.whl
- Upload date:
- Size: 29.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f303563ff5f82ebd8a629bdd3db1d42486219c056555d83f13006b1e725c605 |
|
MD5 | 889290c9c8dc23c05b90f45a17212b40 |
|
BLAKE2b-256 | 1dfd4db86375a8b28db8f5b54e01857258907154a9aecd366f4ed264047c3a5c |