Use our own settings file instead of using godotenv

This commit is contained in:
2024-01-21 15:32:26 +01:00
parent 8903709b60
commit f3d11de24e
7 changed files with 81 additions and 26 deletions

View File

@ -2,8 +2,18 @@
Shit Discord bot
## Settings file
Create a settings.json file or use the environment variables below
```json
{
"discord_token": "your-bot-token-here"
}
```
## Environment variables
| Env var | Desc | Example |
| ------- | ----------------- | ----------------------------------------------------------- |
| TOKEN | Discord bot token | MzQ2MDAwODAxNDk5ODk0Nzk1.XkK-7A.w18w6Z99c5DXi8ubbSNbj32lMZo |
| Variable | Description | Example |
| -------- | ----------------- | ----------------------------------------------------------- |
| TOKEN | Discord bot token | MzQ2MDAwODAxNDk5ODk0Nzk1.XkK-7A.w18w6Z99c5DXi8ubbSNbj32lMZo |