Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bowdown097/verifybot

The bot for the BTD6 Mods & Discussion Discord server.
https://github.com/bowdown097/verifybot

Last synced: about 1 month ago
JSON representation

The bot for the BTD6 Mods & Discussion Discord server.

Awesome Lists containing this project

README

        

# Verify Bot
The bot for the [BTD6 Mods & Discussion Discord server](https://discord.gg/nuMvgkP).






## Running your own instance of the bot
You'll need to create a file named config.json in the working directory. It needs to look EXACTLY like this:
```json
{
"botToken": "[DISCORD BOT TOKEN]",
"steamApiKey": "[STEAM API KEY]",
"userToken": "[TOKEN FOR A USER ACCOUNT THAT WILL BE USED TO ACCESS CONNECTIONS]"
}
```
What to plug in can be figured out through some simple googling.

## Docker setup
**NOTE:** The config.json is expected to be in the same directory as the Dockerfile in order for it to be copied into the correct location within the container.

To run:
```
docker compose up --build
```
To view logs:
```
docker compose logs -f verifybot
```
To enter the container in a shell:
```
docker compose run verifybot bash
```
Or to do the same as root:
```
docker compose run -u root verifybot bash
```

Check `docker compose --help` for more info.