Skip to content

Chat bot featuring multiple services connected to a bot instance using messaging

License

Notifications You must be signed in to change notification settings

peterkuria2000/vexbot

 
 

Repository files navigation

vexbot

Documentation Status Climate Status

Pluggable bot

Under development. Very useable but currently not feature complete.

Requirements

Requires python 3.5 for asyncio and only runs on linux.

If you're a python developer, you can probably get this to run on not linux.

Installation

You will need an active DBus user session bus. Depending on your distro, you might already have one (Arch linux, for example).

For Ubuntu:

$ apt-get install dbus-user-session python3-gi python3-dev python3-pip build-essential

For everyone:

$ python3 -m venv <DIR>
$ source <DIR>/bin/activate
$ ln -s /usr/lib/python3/dist-packages/gi <DIR>/lib/python3.5/site-packages/
$ pip install vexbot[process_manager]

Configuring

Make sure your virtual environment is activated. Then run:

$ vexbot_generate_certificates
$ vexbot_generate_unit_file
$ systemctl --user daemon-reload

Your bot is ready to run!

Running

$ systemctl --user start vexbot

Or

$ vexbot_robot

Please note that vexbot has a client/server architecture. The above commands will launch the server. To launch the command line client:

$ vexbot

Exit the command line client by typing !exit or using ctl+D.

About

Chat bot featuring multiple services connected to a bot instance using messaging

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%