Pick recording servers from the voice-changer app; fix per-server recording status
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>
This commit is contained in:
@@ -13,6 +13,8 @@ const site = createSite(cfg, store, {
|
||||
discardActive: (id) => bot.discardActive(id),
|
||||
recordingNow: (id) => bot.recordingNow(id),
|
||||
userGuilds: (id) => bot.userGuilds(id),
|
||||
adminGuilds: () => bot.adminGuilds(),
|
||||
guildSettingsChanged: () => bot.guildSettingsChanged(),
|
||||
});
|
||||
|
||||
site.listen(cfg.port, cfg.host, () => console.log(`[site] ${cfg.publicUrl} (http://${cfg.host}:${cfg.port})`));
|
||||
|
||||
Reference in New Issue
Block a user