Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/bowdown097/verifybot
- Owner: BowDown097
- Created: 2022-01-18T01:25:39.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-12T12:27:59.000Z (8 months ago)
- Last Synced: 2024-03-12T13:57:56.154Z (8 months ago)
- Language: C++
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.