Files
discord-decomp/modules/applications/ApplicationInteractionInfoUtils.tsx
T
2026-11-01 12:12:55 +02:00

9 lines
421 B
TypeScript

// Metro module 8013 (f8014).
import { InteractionTypes, ApplicationCommandType } from "../../flow/Server";
export function canViewInteractionInfo(a0) {
return a0.interactionMetadata != null;
}
export function isPrimaryEntryPointCommandMessage(a0) {
return a0.interactionMetadata?.type === InteractionTypes.APPLICATION_COMMAND && a0.interactionMetadata?.command_type === ApplicationCommandType.PRIMARY_ENTRY_POINT;
}