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.24.2.tar.gz
.
File metadata
- Download URL: kudubot-0.24.2.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 | b2901190fa1388df982e333558842200fcc7fe707bd18d76bd0864c9f120591d |
|
MD5 | 4dfdbb52b499c4ae4e285cf7109c5517 |
|
BLAKE2b-256 | 023ae6e1962053277bb5ac6954beceba6487f6181f0d7acba2657fea00b149ba |
File details
Details for the file kudubot-0.24.2-py3-none-any.whl
.
File metadata
- Download URL: kudubot-0.24.2-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 | 8977f585601dffafd06e65d9bca6aa3b2cbf0a5a0fa5ecae0812ea88f0348835 |
|
MD5 | 53eb809b78a81e6b3fb4f22b7643cdf9 |
|
BLAKE2b-256 | 265925436459ddece07fcb86d90e2c6f5f02506d15c13dd21b6109b38757884b |