// Module ID: 9644 // Function ID: 9645 // Name: ApplicationInteractionInfoUtils // Dependencies: [5442, 1998, 2] // Exports: canViewInteractionInfo, isPrimaryEntryPointCommandMessage // Module 9644 (ApplicationInteractionInfoUtils) import InteractionTypes from "InteractionTypes" /* 5442 */; import size from "module_2" /* 2 */; let tmp2; const Server = tmp2(1998); 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 === InteractionTypes.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; };