Creating .env
In this guide, we cover how to create .env file and set it up.
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".

You have made a .env file which can be edited like other files.
Last updated
Was this helpful?