feat(voice): add opt-in peer-to-peer calls and country rollouts (#3367)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-10 15:45:17 +02:00
1 parent e5a568acca
commit bef5e33eec
215 files changed
+15840 -2693

No files matched your search

@@ -144,6 +144,10 @@ const ChannelUpdateCommon = ChannelCommonBase.extend({
.describe(
`Voice region ID for the voice channel (${RTC_REGION_ID_MIN_LENGTH}-${RTC_REGION_ID_MAX_LENGTH} characters)`,
),
rtc_p2p: z
.boolean()
.optional()
.describe('Whether calls in the voice channel connect participants directly instead of through a voice server'),
});
const ChannelCreateTextRequest = ChannelCreateCommon.extend({
type: createNamedLiteral(ChannelTypes.GUILD_TEXT, 'GUILD_TEXT', 'Channel type (text channel)'),