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)$ python setup.py bdist_wheel
(travisbot)$ twine upload dist/*
Bibliography
Release files for discord-travisbot 0.0.1.dev20170516
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| discord_travisbot-0.0.1.dev20170516-py3-none-any.whl | Python 3 | none | any | Details |
Release files / discord_travisbot-0.0.1.dev20170516-py3-none-any.whl
| Download URL | discord_travisbot-0.0.1.dev20170516-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aef672b0d94a6d189dfe31f8fe95f582a02c27038170f4cd9feadf11d8fdddb9
|
|
BLAKE2b-256 checksum How to use checksums |
1b00074ca7d4021ce8704b35cedcd85163a2aecdb2b725100aa24cbce625ab31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |