Update to main

This commit is contained in:
Die Antwoord 2023-01-23 16:56:12 +02:00
parent a39f00a2a6
commit 6226f61a05
1 changed files with 4 additions and 4 deletions

View File

@ -18,18 +18,18 @@ $ cd ./Discord-Bot-Python
## Create .env enviroment
- NOTE: If you going to use .env environment you will need to make the necessary changes to the bots code inorder for it to work
- Using .env files can be [found here](https://dev.to/jakewitcher/using-env-files-for-environment-variables-in-python-applications-55a1
)
- Create [.env](.env) file in the root director.
- Here is an explanation of what the values should look like: [env_demo](env_demo)
- Here is an explanation of what the values should look like: [env_demo.env](env_demo.env)
[env_demo](env_demo)
[env_demo.env](env_demo.env)
```env
TOKEN=YOUR_BOT_TOKEN_HERE
WEBHOOK=YOUR_WEBHOOK_HERE
TOMORROWIO_TOKEN=WEATHER_API_TOKEN
```
https://dev.to/jakewitcher/using-env-files-for-environment-variables-in-python-applications-55a1
## Create config.json
- Create [config.json](config.json) file in the root directory.