consent-recorder: let each consenter pick which servers to record in
The site lists only servers the bot and the user share (single-member REST fetch, no privileged intent). Consent requires at least one server; the choice can be changed later and removed servers stop recording at once. Consent text mentions the server choice, so CONSENT_VERSION is bumped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@ const site = createSite(cfg, store, {
|
||||
consentChanged: (id) => bot.consentChanged(id),
|
||||
discardActive: (id) => bot.discardActive(id),
|
||||
recordingNow: (id) => bot.recordingNow(id),
|
||||
userGuilds: (id) => bot.userGuilds(id),
|
||||
});
|
||||
|
||||
site.listen(cfg.port, cfg.host, () => console.log(`[site] ${cfg.publicUrl} (http://${cfg.host}:${cfg.port})`));
|
||||
|
||||
Reference in New Issue
Block a user