decord/source/modules/messages/VoiceChannelListInviteExperiment.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

20 lines
1.1 KiB
TypeScript

// Module ID: 11311
// Function ID: 11312
// Name: getVoiceChannelListInviteExperiment
// Dependencies: [4474, 2]
// Exports: getVoiceChannelListInviteExperiment, useVoiceChannelListInviteExperiment
// Module 11311 (getVoiceChannelListInviteExperiment)
import set from "set" /* 2 */;
import createExperiment from "createExperiment" /* 4474 */;
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 });
};