Skip to main content

Travis bot for Discord.

Project description

https://travis-ci.org/greut/travisbot.svg?branch=master https://img.shields.io/pypi/dd/discord-travisbot.svg https://img.shields.io/github/stars/greut/travisbot.svg

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)$ python setup.py bdist_wheel
(travisbot)$ twine upload dist/*

Bibliography

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file discord_travisbot-0.0.1.dev20170516-py3-none-any.whl.

File metadata

File hashes

Hashes for discord_travisbot-0.0.1.dev20170516-py3-none-any.whl
Algorithm Hash digest
SHA256 aef672b0d94a6d189dfe31f8fe95f582a02c27038170f4cd9feadf11d8fdddb9
MD5 d633affeda37f401e4cc5b057640bdb8
BLAKE2b-256 1b00074ca7d4021ce8704b35cedcd85163a2aecdb2b725100aa24cbce625ab31

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page