decord/source/modules/messages/VoiceChannelListInviteExperiment.tsx
2026-09-02 09:53:35 +00:00

20 lines
1.1 KiB
TypeScript

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