// Module ID: 10984 // Function ID: 10985 // Name: ApplicationInteractionInfoUtils // Dependencies: [1985, 2] // Exports: canViewInteractionInfo, isPrimaryEntryPointCommandMessage // Module 10984 (ApplicationInteractionInfoUtils) import Server from "Server" /* 1985 */; import size from "module_2" /* 2 */; const result = size.fileFinishedImporting("modules/applications/ApplicationInteractionInfoUtils.tsx"); export const canViewInteractionInfo = function canViewInteractionInfo(message) { return null != message.interactionMetadata; }; export const isPrimaryEntryPointCommandMessage = function isPrimaryEntryPointCommandMessage(message) { const interactionMetadata = message.interactionMetadata; let type; if (interactionMetadata != null) { type = interactionMetadata.type; } let tmp4 = type === Server.InteractionTypes.APPLICATION_COMMAND; if (tmp4) { const interactionMetadata2 = message.interactionMetadata; let command_type; if (interactionMetadata2 != null) { command_type = interactionMetadata2.command_type; } tmp4 = command_type === Server.ApplicationCommandType.PRIMARY_ENTRY_POINT; } return tmp4; };