Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
22 lines
1.2 KiB
TypeScript
22 lines
1.2 KiB
TypeScript
// Module ID: 11440
|
|
// Function ID: 11441
|
|
// Name: VoiceChannelListInviteExperiment
|
|
// Dependencies: [4550, 2]
|
|
// Exports: getVoiceChannelListInviteExperiment, useVoiceChannelListInviteExperiment
|
|
|
|
// Module 11440 (VoiceChannelListInviteExperiment)
|
|
import createExperiment from "module_4550" /* 4550 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const obj = { kind: "guild", id: "2026-05_voice_channel_list_invite_embed", label: "Voice Channel List Invite Embed", defaultConfig: { enabled: false }, treatments: null };
|
|
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");
|
|
|
|
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 });
|
|
};
|