20 lines
1.1 KiB
TypeScript
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 });
|
|
};
|