decord/source/modules/messages/VoiceChannelListInviteExperiment.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

20 lines
1.1 KiB
TypeScript

// Module ID: 11238
// Function ID: 11239
// Name: getVoiceChannelListInviteExperiment
// Dependencies: [4392, 2]
// Exports: getVoiceChannelListInviteExperiment, useVoiceChannelListInviteExperiment
// Module 11238 (getVoiceChannelListInviteExperiment)
import set from "set" /* 2 */;
import createExperiment from "createExperiment" /* 4392 */;
const items = [{ id: 1, label: "Enable channel-list-style voice invite embed", config: { enabled: true } }];
let closure_0 = createExperiment.createExperiment({ kind: "guild", id: "2026-05_voice_channel_list_invite_embed", label: "Voice Channel List Invite Embed", defaultConfig: { enabled: false }, treatments: items });
const result = set.fileFinishedImporting("modules/messages/VoiceChannelListInviteExperiment.tsx");
export const getVoiceChannelListInviteExperiment = function getVoiceChannelListInviteExperiment(guildId) {
return closure_0.getCurrentConfig({ guildId: guildId.guildId, location: guildId.location });
};
export const useVoiceChannelListInviteExperiment = function useVoiceChannelListInviteExperiment(guildId) {
return closure_0.useExperiment({ guildId: guildId.guildId, location: guildId.location });
};