decord/source/modules/messages/VoiceChannelListInviteExperiment.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

22 lines
1.2 KiB
TypeScript

// Module ID: 11452
// Function ID: 11453
// Name: VoiceChannelListInviteExperiment
// Dependencies: [4551, 2]
// Exports: getVoiceChannelListInviteExperiment, useVoiceChannelListInviteExperiment
// Module 11452 (VoiceChannelListInviteExperiment)
import createExperiment from "module_4551" /* 4551 */;
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 });
};