consent-recorder: operators (ADMIN_DISCORD_IDS) create an app key on the site; the app calls GET/POST /api/guilds with it to turn servers on/off. Turned-off servers are left immediately. recordingNow() now checks the user picked that server, so someone who only chose server A is not shown as recorded while sitting in a B channel the bot records for others. voice-changer: new "녹음 서버" dialog (record_servers.py), network in a worker thread, key saved in config/record-servers.json; upgrade cleanup list knows the new file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
1.0 KiB
Plaintext
19 lines
1.0 KiB
Plaintext
# 디스코드 개발자 포털 (https://discord.com/developers/applications) 에서 만든 앱 값
|
|
DISCORD_BOT_TOKEN=
|
|
DISCORD_CLIENT_ID=
|
|
DISCORD_CLIENT_SECRET=
|
|
# 사이트 주소 (OAuth2 Redirects 에 <PUBLIC_URL>/callback 을 등록해야 함)
|
|
PUBLIC_URL=https://voice.example.com
|
|
# 동의 화면에 "누가 이 목소리 모델을 쓰는지"로 나오는 이름 (운영자 디스코드 계정 293719842274541579 의 닉네임)
|
|
# 바꾸면 src/consent-text.ts 의 CONSENT_VERSION 도 올려서 모두에게 다시 동의를 받는다
|
|
OPERATOR_NAME=사금향
|
|
# 녹음할 디스코드 서버 아이디 (쉼표로 여러 개). 비우면 봇이 들어간 모든 서버
|
|
ALLOWED_GUILD_IDS=
|
|
# 음성 변환기 앱에서 녹음할 서버를 켜고 끌 수 있는 디스코드 아이디 (쉼표로 여러 개). 사이트에 로그인하면 "앱 연결 키"를 만들 수 있다
|
|
ADMIN_DISCORD_IDS=293719842274541579
|
|
HOST=127.0.0.1
|
|
PORT=8787
|
|
DATA_DIR=./data
|
|
# 봇이 음성채널에 들어갈 때 그 채널 채팅에 녹음 안내를 남김 (1/0)
|
|
CHANNEL_NOTICE=1
|