mirror of
				https://github.com/aydenjahola/discord-multipurpose-bot.git
				synced 2025-11-04 00:01:41 +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
 | 
					# Allowed domains for email verification
 | 
				
			||||||
EMAIL_DOMAINS=example@example.com // or it can be a list, example: example.com,example2.com
 | 
					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
 | 
					# Discord
 | 
				
			||||||
GUILD_ID=YOUR_GUILD_ID
 | 
					GUILD_ID=YOUR_GUILD_ID
 | 
				
			||||||
VERIFICATION_CHANNEL_NAME=YOUR_VERIFICATION_CHANNEL_NAME
 | 
					VERIFICATION_CHANNEL_NAME=YOUR_VERIFICATION_CHANNEL_NAME
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										27
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								README.md
									
									
									
									
									
								
							| 
						 | 
					@ -30,32 +30,7 @@ npm install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
3. **Set Up Environment Variables**
 | 
					3. **Set Up Environment Variables**
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Create a `.env` file in the root directory and add the following:
 | 
					rename the [`.env.example`](./.env.example) to `.env` and fill in the required environments
 | 
				
			||||||
 | 
					 | 
				
			||||||
```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)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
4. **Run the Bot**
 | 
					4. **Run the Bot**
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue