discord-travisbot

Travis bot for Discord.


Keywords
discord, asyncio, bot
License
BSD-3-Clause
Install
pip install discord-travisbot==0.0.1.dev20170516

Documentation

Travis Bot

https://travis-ci.org/greut/travisbot.svg?branch=master

A bot for Discord. (Work in progress)

Development

To setup and run the basic steps of the bot.

Requirements

Installation

$ python -m venv .
$ . bin/activate
(travisbot)$ pip install -e .[fast]

Running

The secret token is read from the environment variables.

(travisbot)$ export TOKEN=...
(travisbot)$ python -m travisbot

In a separate process, run ngrok.

$ ngrok http 8888

Then, configure the notifications of your project to point to the given URL: Configuring webhook notifications

Release

Update the version number and clean up the dist directory before-hand.

(travisbot)$ python setup.py register -r https://pypi.python.org/pypi
(travisbot)$ pip install wheel twine
(travisbot)$ rm -f dist/*
(travisbot)$ python setup.py sdist bdist_wheel
(travisbot)$ twine upload dist/*

Travis

Travis CI should handle the release process for us.

Bibliography