Skip to content

Environment Variables

İbrahim edited this page Dec 15, 2025 · 2 revisions

Note

dotenv is already installed with mini-interaction. You don't have to install it. Just create ".env" file and set these variables.

Make sure the following env vars are set in your deployment and local environment:

DISCORD_APPLICATION_ID=    # Discord client ID here
DISCORD_APP_PUBLIC_KEY=    # Discord public application key here
DISCORD_BOT_TOKEN=         # Discord bot token here
# DISCORD_CLIENT_SECRET=
# DISCORD_REDIRECT_URI=https://your-app.vercel.app/api/discord-oauth-callback
# COOKIE_SECRET=your-random-secret-key-here

# DATABASE_TYPE=mongodb
# MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/?retryWrites=true&w=majority&appName=your-app
# MONGO_DB_NAME=your-db-name
# MONGO_COLLECTION_NAME=collection-name

Clone this wiki locally