feat: add Dockerfile and README for project setup
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Pois
|
||||
|
||||
Discord bot that automatically joins a configured voice channel.
|
||||
|
||||
## Environment
|
||||
|
||||
Set the required environment variables in your shell. This project does not load `.env` files.
|
||||
|
||||
```bash
|
||||
export DISCORD_TOKEN='your-bot-token'
|
||||
export CHANNEL_ID='your-voice-channel-id'
|
||||
```
|
||||
|
||||
## Binary
|
||||
|
||||
```bash
|
||||
go build -o pois .
|
||||
./pois
|
||||
```
|
||||
|
||||
## Docker
|
||||
|
||||
```bash
|
||||
docker build -t pois .
|
||||
docker run --rm -e DISCORD_TOKEN='your-bot-token' -e CHANNEL_ID='your-voice-channel-id' pois
|
||||
```
|
||||
Reference in New Issue
Block a user