2026-07-29 08:29:29 +00:00
|
|
|
// Module ID: 10266
|
|
|
|
|
// Function ID: 10267
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isInMentionRaidExperiment
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [10267, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isInMentionRaidExperiment, useIsMentionRaidExperimentEnabled
|
|
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
// Module 10266 (isInMentionRaidExperiment)
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/guild_automod/ExperimentUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const isInMentionRaidExperiment = function isInMentionRaidExperiment(guildId) {
|
2026-07-29 08:29:29 +00:00
|
|
|
const AutomodMentionRaidLimit = require(10267) /* experiment */.AutomodMentionRaidLimit;
|
2026-07-20 16:05:17 +00:00
|
|
|
return AutomodMentionRaidLimit.getCurrentConfig({ guildId, location: "988d4e_3" }).enabled;
|
|
|
|
|
};
|
|
|
|
|
export const useIsMentionRaidExperimentEnabled = function useIsMentionRaidExperimentEnabled(id, arg1) {
|
2026-07-29 08:29:29 +00:00
|
|
|
let autoTrackExposure = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (arg1 === undefined) {
|
2026-07-29 08:29:29 +00:00
|
|
|
autoTrackExposure = true;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const AutomodMentionRaidLimit = require(10267) /* experiment */.AutomodMentionRaidLimit;
|
|
|
|
|
return AutomodMentionRaidLimit.useExperiment({ guildId: id, location: "988d4e_4" }, { autoTrackExposure }).enabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|