updated tech stack for newer versions of python, removed pyaudio. refactored configuration into .env file and integration inside logic, removed repeat config reads
This commit is contained in:
67
.env_example
Normal file
67
.env_example
Normal file
@@ -0,0 +1,67 @@
|
||||
# Groovy-Zilean Configuration
|
||||
# Copy this file to .env and fill in your values
|
||||
# NEVER commit .env to git!
|
||||
|
||||
# ===================================
|
||||
# Environment Selection
|
||||
# ===================================
|
||||
# Set to "dev" for development bot, "live" for production
|
||||
ENVIRONMENT=dev
|
||||
|
||||
# ===================================
|
||||
# Discord Bot Tokens
|
||||
# ===================================
|
||||
DISCORD_TOKEN_DEV=
|
||||
DISCORD_TOKEN_LIVE=
|
||||
|
||||
# Bot settings
|
||||
DISCORD_PREFIX=
|
||||
|
||||
# ===================================
|
||||
# Spotify Integration
|
||||
# ===================================
|
||||
SPOTIFY_CLIENT_ID=
|
||||
SPOTIFY_CLIENT_SECRET=
|
||||
|
||||
# ===================================
|
||||
# Database
|
||||
# ===================================
|
||||
# For now (SQLite)
|
||||
DB_PATH=./data/music.db
|
||||
|
||||
# For future (PostgreSQL)
|
||||
# DB_HOST=localhost
|
||||
# DB_PORT=5432
|
||||
# DB_NAME=groovy_zilean
|
||||
# DB_USER=groovy
|
||||
# DB_PASSWORD=your_db_password
|
||||
|
||||
# ===================================
|
||||
# Bot Status/Presence
|
||||
# ===================================
|
||||
# Types: playing, listening, watching, streaming, competing
|
||||
STATUS_TYPE=listening
|
||||
STATUS_TEXT==help | /help
|
||||
# STATUS_URL= # Only needed for streaming type
|
||||
|
||||
# ===================================
|
||||
# Color Scheme (hex colors)
|
||||
# ===================================
|
||||
COLOR_PRIMARY=#7289DA
|
||||
COLOR_SUCCESS=#43B581
|
||||
COLOR_ERROR=#F04747
|
||||
COLOR_WARNING=#FAA61A
|
||||
|
||||
# ===================================
|
||||
# Web Dashboard (Future)
|
||||
# ===================================
|
||||
# DISCORD_CLIENT_ID=your_oauth_client_id
|
||||
# DISCORD_CLIENT_SECRET=your_oauth_secret
|
||||
# DISCORD_REDIRECT_URI=http://localhost:8000/callback
|
||||
# WEB_SECRET_KEY=random_secret_for_sessions
|
||||
|
||||
# ===================================
|
||||
# Logging
|
||||
# ===================================
|
||||
LOG_LEVEL=INFO
|
||||
# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
|
||||
Reference in New Issue
Block a user