Skip to main content

An chat bot framework

Project description

Kudubot

master develop
build status build status

Logo

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, which delegates them to on_<command name> methods by default.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kudubot, version 0.33.0
Filename, size File type Python version Upload date Hashes
Filename, size kudubot-0.33.0-py3-none-any.whl (31.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kudubot-0.33.0.tar.gz (10.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page