// Module ID: 8119 // Function ID: 8120 // Name: canViewInteractionInfo // Dependencies: [1906, 2] // Exports: canViewInteractionInfo, isPrimaryEntryPointCommandMessage // Module 8119 (canViewInteractionInfo) const result = require("set").fileFinishedImporting("modules/applications/ApplicationInteractionInfoUtils.tsx"); export const canViewInteractionInfo = function canViewInteractionInfo(message) { return null != message.interactionMetadata; }; export const isPrimaryEntryPointCommandMessage = function isPrimaryEntryPointCommandMessage(interactionMetadata) { interactionMetadata = interactionMetadata.interactionMetadata; let type; if (interactionMetadata != null) { type = interactionMetadata.type; } let tmp4 = type === require(1906) /* PermissionOverwriteType */.InteractionTypes.APPLICATION_COMMAND; if (tmp4) { const interactionMetadata2 = interactionMetadata.interactionMetadata; let command_type; if (interactionMetadata2 != null) { command_type = interactionMetadata2.command_type; } tmp4 = command_type === require(1906) /* PermissionOverwriteType */.ApplicationCommandType.PRIMARY_ENTRY_POINT; } return tmp4; };