Update to main
This commit is contained in:
parent
a39f00a2a6
commit
6226f61a05
@ -18,18 +18,18 @@ $ cd ./Discord-Bot-Python
|
|||||||
## Create .env enviroment
|
## 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
|
- 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.
|
- 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
|
```env
|
||||||
TOKEN=YOUR_BOT_TOKEN_HERE
|
TOKEN=YOUR_BOT_TOKEN_HERE
|
||||||
WEBHOOK=YOUR_WEBHOOK_HERE
|
WEBHOOK=YOUR_WEBHOOK_HERE
|
||||||
TOMORROWIO_TOKEN=WEATHER_API_TOKEN
|
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
|
||||||
|
|
||||||
- Create [config.json](config.json) file in the root directory.
|
- Create [config.json](config.json) file in the root directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user