Travis bot for Discord.
Project description
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/*
Travis
Travis CI should handle the release process for us.
Bibliography
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
Built Distribution
File details
Details for the file discord-travisbot-0.0.1.dev20170524.tar.gz
.
File metadata
- Download URL: discord-travisbot-0.0.1.dev20170524.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75afd655ce539d92a070cc68aa94912299019a7b36f697a2334d04d2f8c900d4 |
|
MD5 | 7667424bc96a67b391bcdb170eb2b5b3 |
|
BLAKE2b-256 | a5104275e9199bb3fb7abe61be2b2250fbc7ce172b71c326d2e5b2cb4c291538 |
File details
Details for the file discord_travisbot-0.0.1.dev20170524-py3-none-any.whl
.
File metadata
- Download URL: discord_travisbot-0.0.1.dev20170524-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89bd8700be38f357830011296ac5249d3703391cbe643ac3b75ab9b427ac8c2c |
|
MD5 | ec4f83b3e3be0387a38a172af717b794 |
|
BLAKE2b-256 | 71ea44caf91b33928f6418e901c8c046db4b47edf9d48ca8a00193c8c47d3a41 |