2026-09-07 16:44:02 +00:00
|
|
|
// Module ID: 17336
|
|
|
|
|
// Function ID: 17337
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: handleVoiceChannelSelect
|
2026-09-07 16:44:02 +00:00
|
|
|
// Dependencies: [7118, 17337, 16907, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-07 16:44:02 +00:00
|
|
|
// Module 17336 (handleVoiceChannelSelect)
|
2026-09-05 10:56:28 +00:00
|
|
|
import initializeDefault from "initialize" /* 7118 */;
|
2026-09-07 16:44:02 +00:00
|
|
|
import commonTriggerPointConfiguration from "commonTriggerPointConfiguration" /* 16907 */;
|
|
|
|
|
import commonTriggerPointConfiguration2 from "commonTriggerPointConfiguration" /* 17337 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
require = arg1;
|
|
|
|
|
initializeDefault;
|
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-24 06:08:38 +00:00
|
|
|
const VoiceCallTriggerPoint = commonTriggerPointConfiguration2.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-24 06:08:38 +00:00
|
|
|
const VoiceCallTriggerPoint = commonTriggerPointConfiguration2.VoiceCallTriggerPoint;
|
2026-07-29 08:29:29 +00:00
|
|
|
VoiceCallTriggerPoint.trigger();
|
|
|
|
|
};
|
|
|
|
|
prototype["handleUserSettingsModalOpen"] = function handleUserSettingsModalOpen() {
|
2026-08-24 06:08:38 +00:00
|
|
|
const OpenUserSettingsTriggerPoint = commonTriggerPointConfiguration.OpenUserSettingsTriggerPoint;
|
2026-07-29 08:29:29 +00:00
|
|
|
OpenUserSettingsTriggerPoint.trigger();
|
|
|
|
|
};
|
|
|
|
|
const commonTriggerPointManager = new CommonTriggerPointManager();
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").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;
|