()
Project description
This is a general purpose chat bot, extensible in varios ways. The reason, why it was written is because NodeJS and CoffeeScript are sucks and Hubot uses them.
The Bot is written in orthodox Python and can be installed via [pip][]. It’s functionality can be extended by installation of additional python packages, you don’t have to clone a repository and hack some code there.
Build Status
This project uses Travis for continuous integration: [![Build Status](https://secure.travis-ci.org/svetlyak40wt/thebot.png)](http://travis-ci.org/svetlyak40wt/thebot)
Installation
virtualenv env source env/bin/activate pip install ‘git+git://github.com/svetlyak40wt/thebot.git’ thebot
To connect TheBot to the IRC channel do:
thebot –adapter irc –irc-host irc.freenode.net –irc-channels somechannel –irc-nick thebot
To turn on more useful plugins, install them via pip. For example, to install Instagram and Github plugins, do:
pip install ‘git+git://github.com/svetlyak40wt/thebot-github.git’ pip install ‘git+git://github.com/svetlyak40wt/thebot-instagram.git’ thebot –adapter irc –plugins instagram –irc-host irc.freenode.net –irc-channels somechannel –irc-nick thebot
Then, join this channel and send thebot, instagram on message. To list all supported command, issue the message thebot, help.
Available adapters
### Builtins
[irc](https://github.com/svetlyak40wt/thebot/blob/master/thebot/batteries/irc.py);
[xmpp](https://github.com/svetlyak40wt/thebot/blob/master/thebot/batteries/xmpp.py);
[http](https://github.com/svetlyak40wt/thebot/blob/master/thebot/batteries/http.py);
[console](https://github.com/svetlyak40wt/thebot/blob/master/thebot/batteries/console.py);
### External
Be the first, who will write the one!
Available plugins
### Builtins
[image](https://github.com/svetlyak40wt/thebot/blob/master/thebot/batteries/image.py) — uses Google Image and [mustachify.me](http://mustachify.me), to search images and to make them funny.
[math](https://github.com/svetlyak40wt/thebot/blob/master/thebot/batteries/math.py) — uses Google Calculator to do some math and convert currencies.
[todo](https://github.com/svetlyak40wt/thebot/blob/master/thebot/batteries/todo.py) — a simple task manager which will store your tasks and send you reminders.
### External
[github](https://github.com/svetlyak40wt/thebot-github) — allows to track new issues, pull requests and comments.
[instagram](https://github.com/svetlyak40wt/thebot-instagram) — posts new popular images from Instagram.
[translate](https://github.com/svetlyak40wt/thebot-translate) — translates texts from one language to another.
Add yours plugins to this list!
Alternatives
There are some bots written in Python, but all of them sucks, because, most of the works only with IRC and none of them has such beautiful architecture as The Bot.
But if you still have some doubts, here is a list of some bots. Go, try them and come back to ask The Bot to forgive you treason.
http://gozerbot.org/ and his son https://code.google.com/p/jsonbot/
http://inamidst.com/phenny/ and a Python3 version https://github.com/sbp/duxlot/
https://github.com/toastdriven/toastbot uses irckit и gevent
https://github.com/gbin/err too complex and over-engeneered architecture, but has plugins.
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
File details
Details for the file thebot-0.1.2.tar.gz
.
File metadata
- Download URL: thebot-0.1.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba4efd64f35f9d00ccb93d261de2c2031c85a0b6768840223671cbe5107dee9 |
|
MD5 | 29a70bfeb7ceae5f0f180bad5a7699e1 |
|
BLAKE2b-256 | a7686213a5061925900f5c9ce40fc71c132b46568716030fd345182124c5968a |