2026-08-13 07:00:46 +00:00
|
|
|
// Module ID: 16487
|
|
|
|
|
// Function ID: 16488
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: handleVoiceChannelSelect
|
2026-08-13 07:00:46 +00:00
|
|
|
// Dependencies: [5301, 16488, 16061, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-13 07:00:46 +00:00
|
|
|
// Module 16487 (handleVoiceChannelSelect)
|
2026-07-29 08:29:29 +00:00
|
|
|
import "initialize";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-07-29 08:29:29 +00:00
|
|
|
class CommonTriggerPointManager extends tmp2 {
|
|
|
|
|
constructor() {
|
|
|
|
|
applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
|
|
|
|
|
applyArgumentsResult.actions = { VOICE_CHANNEL_SELECT: applyArgumentsResult.handleVoiceChannelSelect, CALL_CREATE: applyArgumentsResult.handleCallCreate, USER_SETTINGS_MODAL_OPEN: applyArgumentsResult.handleUserSettingsModalOpen };
|
|
|
|
|
return applyArgumentsResult;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const prototype = CommonTriggerPointManager.prototype;
|
|
|
|
|
prototype["handleVoiceChannelSelect"] = function handleVoiceChannelSelect(guildId) {
|
|
|
|
|
guildId = guildId.guildId;
|
|
|
|
|
if (null != guildId.channelId) {
|
2026-08-13 07:00:46 +00:00
|
|
|
const VoiceCallTriggerPoint = require(16488) /* commonTriggerPointConfiguration */.VoiceCallTriggerPoint;
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj = { guildId: null };
|
|
|
|
|
obj[0] = guildId;
|
|
|
|
|
VoiceCallTriggerPoint.trigger(obj);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
prototype["handleCallCreate"] = function handleCallCreate() {
|
2026-08-13 07:00:46 +00:00
|
|
|
const VoiceCallTriggerPoint = require(16488) /* commonTriggerPointConfiguration */.VoiceCallTriggerPoint;
|
2026-07-29 08:29:29 +00:00
|
|
|
VoiceCallTriggerPoint.trigger();
|
|
|
|
|
};
|
|
|
|
|
prototype["handleUserSettingsModalOpen"] = function handleUserSettingsModalOpen() {
|
2026-08-13 07:00:46 +00:00
|
|
|
const OpenUserSettingsTriggerPoint = require(16061) /* commonTriggerPointConfiguration */.OpenUserSettingsTriggerPoint;
|
2026-07-29 08:29:29 +00:00
|
|
|
OpenUserSettingsTriggerPoint.trigger();
|
|
|
|
|
};
|
|
|
|
|
const commonTriggerPointManager = new CommonTriggerPointManager();
|
|
|
|
|
const result = require("commonTriggerPointConfiguration").fileFinishedImporting("modules/experiments/trigger_points/CommonTriggerPointManager.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default commonTriggerPointManager;
|