Bot Configuration
1. WHAT IS THE .env FILE?
The .env file is where you store your private credentials. This usually includes things like:
Discord bot token
OpenAI API key
Twitch credentials
other private details
⚠️ .env’s are like a password vault for your bot. This file ensures your sensitive information is protected and not seen by the public.
NEVER SHARE YOUR KEYS, TOKENS, OR CREDENTIALS & NEVER COMMIT TO GITHUB!!!
2. Edit & Save Your .ENV
There is an example .txt file in the repo. Use this to update your API keys, tokens, etc.
Tip: Delete the tokens your bot will not use. Only keep what you need.
Once you tokens and keys are updated, remove .txt from the end of the file name and ensure it says .env.
Quick Recap - what did we do?
Created the .env file
Added secret keys
Protected private credentials
