decord/source/modules/messages/VoiceChannelListInviteExperiment.tsx
2026-08-06 08:05:19 +00:00

19 lines
1.1 KiB
TypeScript

// Module ID: 10908
// Function ID: 10909
// Name: getVoiceChannelListInviteExperiment
// Dependencies: [4197, 2]
// Exports: getVoiceChannelListInviteExperiment, useVoiceChannelListInviteExperiment
// Module 10908 (getVoiceChannelListInviteExperiment)
import createExperiment from "createExperiment";
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 = require("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 });
};