Skip to content

muriloviana/bottery

This branch is 219 commits behind rougeth/bottery:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1fa3644 ยท Oct 21, 2017
Oct 21, 2017
Oct 20, 2017
Oct 21, 2017
Sep 23, 2017
Sep 23, 2017
Aug 14, 2017
Oct 8, 2017
Oct 4, 2017
Oct 9, 2017
Sep 24, 2017
Oct 19, 2017
Sep 29, 2017
Oct 19, 2017
Oct 14, 2017

Repository files navigation

bottery

๐Ÿ”‹ A framework for building bots

Build Status Build status PyPI Versions

# quick example of a ping pong bot
from bottery.conf.patterns import DefaultPattern, Pattern

async def pong(message):
    return "pong!"

async def not_found(message):
    return "Sorry, I didn't understand you :/"

patterns = [
    Pattern('ping', pong),
    DefaultPattern(not_found),
]

The complete example can be seen here.

Usage

Installing

$ pip install bottery

Creating a project

$ bottery startproject librarybot

Running

$ bottery run --debug

Development

Please see our contribution guide.

About

๐Ÿ”‹ A bot framework with batteries included

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%