Pre-release
This release is a pre-release and may not be stable for production use.
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
Release files for discord-travisbot 0.0.1.dev20170528
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| discord-travisbot-0.0.1.dev20170528.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| discord_travisbot-0.0.1.dev20170528-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / discord-travisbot-0.0.1.dev20170528.tar.gz
| Download URL | discord-travisbot-0.0.1.dev20170528.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ac8608181ec5c77b3358eb59a6b2f599a74831f59bd3418438065d186225b3b
|
|
BLAKE2b-256 checksum How to use checksums |
01ac7c7ac67f69a457ec2f00b905be8665c843bff7fba60ab94bcc8d907d3ee6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / discord_travisbot-0.0.1.dev20170528-py3-none-any.whl
| Download URL | discord_travisbot-0.0.1.dev20170528-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
300b8c5368bdbdb56ab4c14efd5c6af15a0c0f519d1d0faa0bc29a0adb85ffd5
|
|
BLAKE2b-256 checksum How to use checksums |
989fe5d56f8ac09fc58575d617c36c9d0f73a3e600a8da8094df1a434a160b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |