decord/source/modules/messages/VoiceChannelListInviteExperiment.tsx
2026-07-27 11:26:19 +00:00

22 lines
1.1 KiB
TypeScript

// Module ID: 9433
// Function ID: 73625
// Name: items
// Dependencies: [4043, 2]
// Exports: getVoiceChannelListInviteExperiment, useVoiceChannelListInviteExperiment
// Module 9433 (items)
import createExperiment from "createExperiment";
let obj = { kind: "guild", id: "2026-05_voice_channel_list_invite_embed", label: "Voice Channel List Invite Embed", defaultConfig: { enabled: false } };
obj = { id: 1, label: "Enable channel-list-style voice invite embed", config: { enabled: true } };
const items = [obj];
obj.treatments = items;
let closure_0 = createExperiment.createExperiment(obj);
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 });
};