mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 00:35:56 +00:00
updat .env.example and README
This commit is contained in:
parent
916f150a5f
commit
088b575f20
2 changed files with 4 additions and 26 deletions
|
@ -9,6 +9,9 @@ EMAIL_PASS=YOUR_EMAIL_PASS
|
|||
# Allowed domains for email verification
|
||||
EMAIL_DOMAINS=example@example.com // or it can be a list, example: example.com,example2.com
|
||||
|
||||
# API
|
||||
RAPIDAPI_KEY=YOUR_RAPIDAPI_KEY // grab yours from https://rapidapi.com/community/api/urban-dictionary/playground/53aa4f68e4b07e1f4ebeb2b0
|
||||
|
||||
# Discord
|
||||
GUILD_ID=YOUR_GUILD_ID
|
||||
VERIFICATION_CHANNEL_NAME=YOUR_VERIFICATION_CHANNEL_NAME
|
||||
|
|
27
README.md
27
README.md
|
@ -30,32 +30,7 @@ npm install
|
|||
|
||||
3. **Set Up Environment Variables**
|
||||
|
||||
Create a `.env` file in the root directory and add the following:
|
||||
|
||||
```env
|
||||
# Bot token
|
||||
BOT_TOKEN=YOUR_BOT_TOKEN
|
||||
|
||||
# Nodemailer
|
||||
EMAIL_NAME="Example"
|
||||
EMAIL_USER=example@example.com
|
||||
EMAIL_PASS=YOUR_EMAIL_PASS
|
||||
|
||||
# Allowed domains for email verification
|
||||
EMAIL_DOMAINS=example@example.com // or it can be a list, example: example.com,example2.com
|
||||
|
||||
# Discord
|
||||
GUILD_ID=YOUR_GUILD_ID
|
||||
VERIFICATION_CHANNEL_NAME=YOUR_VERIFICATION_CHANNEL_NAME
|
||||
VERIFIED_ROLE_NAME=YOUR_VERIFIED_ROLE_NAME
|
||||
LOG_CHANNEL_ID=YOUR_LOG_CHANNEL_ID
|
||||
MOD_ROLE_ID=YOUR_MOD_ROLE_ID
|
||||
|
||||
# Database
|
||||
MONGODB_URI=YOUR_MONGODB_URI
|
||||
```
|
||||
|
||||
this can also be seen in in the [.env.example](./.env.example)
|
||||
rename the [`.env.example`](./.env.example) to `.env` and fill in the required environments
|
||||
|
||||
4. **Run the Bot**
|
||||
|
||||
|
|
Loading…
Reference in a new issue