https://github.com/foxbot/followerbridge
Offer perks for your twitch.tv followers on Discord
https://github.com/foxbot/followerbridge
Last synced: 10 months ago
JSON representation
Offer perks for your twitch.tv followers on Discord
- Host: GitHub
- URL: https://github.com/foxbot/followerbridge
- Owner: foxbot
- License: isc
- Created: 2017-02-25T00:53:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-25T03:16:02.000Z (over 9 years ago)
- Last Synced: 2025-09-08T22:42:31.654Z (10 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# followerbridge
A small tool to offer perks for your [twitch.tv](https://twitch.tv) followers on [Discord](https://discordapp.com)
### Example
A sample is running on [followerbridge.foxbot.me](https://followerbridge.foxbot.me)
### Requirements
- Python 3
- Flask
`pip install -r requirements.txt`
### Running
Make a `config.py` file in the root directory with the following variables:
```py
SERVER_NAME = 'localhost:80' # set a port
DISCORD_CLIENT_ID = 'client ID of oauth application'
DISCORD_SECRET_KEY = 'client secret of oauth application'
DISCORD_BOT_TOKEN = 'token of bot account for application'
REDIRECT_URI = 'redirect uri of application - https://my.website/discord' # domain/discord
TWITCH_NAME = 'the name of your twitch account'
TWITCH_API_KEY = 'a twitch oauth app api key'
GUILD = 'the id of your discord guild'
ROLE = 'the id of the follower role in your discord guild'
INVITE = 'a link to an invite to your discord guild'
SECRET_KEY = DISCORD_SECRET_KEY # leave this field as is
```
Next, run `$ python3 run.py`