9 lines
421 B
TypeScript
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;
|
|
}
|