decord/source/modules/messages/VoiceChannelListInviteExperiment.tsx

23 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 11439
// Function ID: 11440
// Name: VoiceChannelListInviteExperiment
// Dependencies: [4550, 2]
2026-07-20 16:05:17 +00:00
// Exports: getVoiceChannelListInviteExperiment, useVoiceChannelListInviteExperiment
// Module 11439 (VoiceChannelListInviteExperiment)
import createExperiment from "module_4550" /* 4550 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const obj = { kind: "guild", id: "2026-05_voice_channel_list_invite_embed", label: "Voice Channel List Invite Embed", defaultConfig: { enabled: false }, treatments: null };
2026-07-29 08:29:29 +00:00
const items = [{ id: 1, label: "Enable channel-list-style voice invite embed", config: { enabled: true } }];
obj.treatments = items;
let closure_0 = createExperiment.createExperiment(obj);
const result = size.fileFinishedImporting("modules/messages/VoiceChannelListInviteExperiment.tsx");
2026-07-20 16:05:17 +00:00
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 });
};