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)$ 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

Project details


Download files

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

Source Distribution

discord-travisbot-0.0.1.dev20170528.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file discord-travisbot-0.0.1.dev20170528.tar.gz.

File metadata

File hashes

Hashes for discord-travisbot-0.0.1.dev20170528.tar.gz
Algorithm Hash digest
SHA256 8ac8608181ec5c77b3358eb59a6b2f599a74831f59bd3418438065d186225b3b
MD5 c584579112c621d33939d979c023ce5d
BLAKE2b-256 01ac7c7ac67f69a457ec2f00b905be8665c843bff7fba60ab94bcc8d907d3ee6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for discord_travisbot-0.0.1.dev20170528-py3-none-any.whl
Algorithm Hash digest
SHA256 300b8c5368bdbdb56ab4c14efd5c6af15a0c0f519d1d0faa0bc29a0adb85ffd5
MD5 010f0e4d264b86d2a082501ed75d3099
BLAKE2b-256 989fe5d56f8ac09fc58575d617c36c9d0f73a3e600a8da8094df1a434a160b04

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