Update README.md
This commit is contained in:
@@ -19,9 +19,14 @@ You will also need to register an application in the Discord Developer Portal, y
|
|||||||
python -m venv .
|
python -m venv .
|
||||||
```
|
```
|
||||||
4. Install the required libraries
|
4. Install the required libraries
|
||||||
|
#### Linux:
|
||||||
```
|
```
|
||||||
./bin/pip install discord dotenv datetime
|
./bin/pip install discord dotenv datetime
|
||||||
```
|
```
|
||||||
|
#### Windows:
|
||||||
|
```
|
||||||
|
./Scripts/pip.exe install discord dotenv datetime pip-system-certs
|
||||||
|
```
|
||||||
5. Set your Discord application token
|
5. Set your Discord application token
|
||||||
```
|
```
|
||||||
echo "TOKEN='my-token-here'" > .env
|
echo "TOKEN='my-token-here'" > .env
|
||||||
@@ -29,6 +34,11 @@ You will also need to register an application in the Discord Developer Portal, y
|
|||||||
Or add a line reading `TOKEN='my-token-here'` to a file named ".env" using a text editor of your choosing (must be next to your "main.py" file)
|
Or add a line reading `TOKEN='my-token-here'` to a file named ".env" using a text editor of your choosing (must be next to your "main.py" file)
|
||||||
|
|
||||||
6. Run the script
|
6. Run the script
|
||||||
|
#### Linux:
|
||||||
```
|
```
|
||||||
./bin/python main.py
|
./bin/python main.py
|
||||||
```
|
```
|
||||||
|
#### Windows:
|
||||||
|
```
|
||||||
|
./Scripts/python.exe main.py
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user