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)$ 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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file discord-travisbot-0.0.1.dev20170528.tar.gz.
File metadata
- Download URL: discord-travisbot-0.0.1.dev20170528.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ac8608181ec5c77b3358eb59a6b2f599a74831f59bd3418438065d186225b3b
|
|
| MD5 |
c584579112c621d33939d979c023ce5d
|
|
| BLAKE2b-256 |
01ac7c7ac67f69a457ec2f00b905be8665c843bff7fba60ab94bcc8d907d3ee6
|
File details
Details for the file discord_travisbot-0.0.1.dev20170528-py3-none-any.whl.
File metadata
- Download URL: discord_travisbot-0.0.1.dev20170528-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
300b8c5368bdbdb56ab4c14efd5c6af15a0c0f519d1d0faa0bc29a0adb85ffd5
|
|
| MD5 |
010f0e4d264b86d2a082501ed75d3099
|
|
| BLAKE2b-256 |
989fe5d56f8ac09fc58575d617c36c9d0f73a3e600a8da8094df1a434a160b04
|