In this guide, we cover how to create .env file and set it up.
Last updated 11 months ago
Was this helpful?
Go to your server, click on the "File Managers" tab, and click "New file".
Now put any secure information that will be used a lot in this file.
DISCORD_TOKEN=YOUR_TOKEN_HERE PORT=3000 DB_PASSWORD=PASSWORD_HERE DB_USERNAME=USERNAME_HERE DB_HOST=HOST_HERE DB_PORT=PORT
Click the "CREATE FILE" button.
For file name, set it to .env and click "CREATE FILE".
.env