decord/source/modules/checkpoint/native/onTapCheckpointCard.tsx

29 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11164
// Function ID: 11165
2026-07-20 16:05:17 +00:00
// Name: onTapCheckpointCard
2026-08-24 06:08:38 +00:00
// Dependencies: [1391, 676, 698, 5047, 2]
2026-07-20 16:05:17 +00:00
// Exports: onTapCheckpointCard
2026-08-24 06:08:38 +00:00
// Module 11164 (onTapCheckpointCard)
import expandEventPropertiesDefault from "expandEventProperties" /* 698 */;
import collectGuildAnalyticsMetadata from "collectGuildAnalyticsMetadata" /* 5047 */;
import closure_3 from "ensureGuildLoaded" /* 1391 */;
import { AnalyticEvents } from "ME" /* 676 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
const result = require("set").fileFinishedImporting("modules/checkpoint/native/onTapCheckpointCard.tsx");
2026-07-20 16:05:17 +00:00
export const onTapCheckpointCard = function onTapCheckpointCard(message) {
2026-07-23 10:11:24 +00:00
channel = channel.getChannel(message.message.channel_id);
2026-08-24 06:08:38 +00:00
let obj = expandEventPropertiesDefault;
2026-07-20 16:05:17 +00:00
obj = { other_user_id: message.authorId };
2026-08-24 06:08:38 +00:00
const merged = Object.assign(collectGuildAnalyticsMetadata.collectChannelAnalyticsMetadata(channel));
const obj3 = collectGuildAnalyticsMetadata;
2026-07-20 16:05:17 +00:00
let guild_id;
2026-07-29 08:29:29 +00:00
if (channel != null) {
2026-07-20 16:05:17 +00:00
guild_id = channel.guild_id;
}
2026-08-24 06:08:38 +00:00
const merged1 = Object.assign(collectGuildAnalyticsMetadata.collectGuildAnalyticsMetadata(guild_id));
2026-07-20 16:05:17 +00:00
obj.track(AnalyticEvents.CHECKPOINT_CARD_CLICKED, obj);
};