Files
dc-recorder/.env.example

36 lines
664 B
Plaintext
Raw Normal View History

2026-05-13 16:05:56 +07:00
# Discord Bot Configuration
DISCORD_TOKEN=your_bot_token_here
VOICE_CHANNEL_ID=your_voice_channel_id_here
GUILD_ID=your_guild_id_here
# Recording Configuration
RECORDINGS_DIR=./recordings
RECORDING_SEGMENT_MS=5000
VERBOSE=false
# Decoder Configuration
DECODER_ROTATE_MS=5000
DECODER_COOLDOWN_MS=30000
# Audio Configuration
AUDIO_STREAM_SILENCE_DURATION_MS=3000
PACKET_FILTER_MIN_SIZE=8
OPUS_FRAME_SIZE=960
AUDIO_SAMPLE_RATE=48000
AUDIO_CHANNELS=2
AVATAR_SIZE=64
# Webserver Configuration
WEBSERVER_PORT=3000
# Connection Configuration
VOICE_CONNECTION_TIMEOUT_MS=15000
RECONNECT_TIMEOUT_MS=5000
# Logging Configuration
LOG_LEVEL=info
NODE_ENV=development