decord/source/modules/messages/VoiceChannelListInviteExperiment.tsx

21 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 10546
// Function ID: 10547
2026-07-29 08:29:29 +00:00
// Name: getVoiceChannelListInviteExperiment
2026-08-24 06:08:38 +00:00
// Dependencies: [4290, 2]
2026-07-20 16:05:17 +00:00
// Exports: getVoiceChannelListInviteExperiment, useVoiceChannelListInviteExperiment
2026-08-24 06:08:38 +00:00
// Module 10546 (getVoiceChannelListInviteExperiment)
import set from "set" /* 2 */;
import createExperiment from "createExperiment" /* 4290 */;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
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 });
2026-08-24 06:08:38 +00:00
const result = set.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 });
};