2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 11439
|
|
|
|
|
// Function ID: 11440
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: VoiceChannelListInviteExperiment
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [4550, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getVoiceChannelListInviteExperiment, useVoiceChannelListInviteExperiment
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 11439 (VoiceChannelListInviteExperiment)
|
|
|
|
|
import createExperiment from "module_4550" /* 4550 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +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 } }];
|
2026-09-10 05:38:07 +00:00
|
|
|
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 });
|
|
|
|
|
};
|