https://github.com/seniru/wtal-bot
A bot to update discord roles when there are changes to tribe ranks
https://github.com/seniru/wtal-bot
Last synced: about 2 months ago
JSON representation
A bot to update discord roles when there are changes to tribe ranks
- Host: GitHub
- URL: https://github.com/seniru/wtal-bot
- Owner: Seniru
- License: gpl-3.0
- Created: 2019-12-13T09:57:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-09T17:45:59.000Z (10 months ago)
- Last Synced: 2025-03-25T21:15:33.448Z (2 months ago)
- Language: Python
- Size: 676 KB
- Stars: 4
- Watchers: 1
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wtal
> Discord and Transformice bot for the tribe **We talk a Lot**### Developing
First clone this repository to your machine
```bash
git clone https://github.com/We-Talk-a-Lot/wtal-bot
```Then set up the following environment variables in `.env`
```env
USERNAME=TRANSFORMICE_NICKNAME_OF_BOT
PASSWORD=TRANSFORMICE_PASSWORD_OF_BOT
DISCORD=DISCORD_TOKEN
```
Replace `TRANSFORMICE_NICKNAME_OF_BOT`, `TRANSFORMICE_PASSWORD_OF_BOT` and `DISCORD_TOKEN` with your secret valuesIf you have docker installed in your machine follow the following steps to run the bot. Otherwise jump [here](#running-without-docker)
#### Running with Docker
```bash
sudo docker pull senirup/wtal-bot
sudo docker-compose up
```### Running without Docker
First install the dependencies
```bash
python -m pip install -r requirements.txt
```Then run
```bash
./script.bash
#or
python src/main.py
```