{"version":3,"file":"nsfw.cjs","names":["CommandPreConditions"],"sources":["../../../../src/lib/precondition-resolvers/nsfw.ts"],"sourcesContent":["import { CommandPreConditions } from '../types/Enums';\nimport type { PreconditionContainerArray } from '../utils/preconditions/PreconditionContainerArray';\n\n/**\n * Appends the `NSFW` precondition if {@link SubcommandMappingMethod.nsfw} is set to true.\n * @param nsfw Whether this command is NSFW or not.\n * @param preconditionContainerArray The precondition container array to append the precondition to.\n */\nexport function parseConstructorPreConditionsNsfw(nsfw: boolean | undefined, preconditionContainerArray: PreconditionContainerArray) {\n\tif (nsfw) preconditionContainerArray.append(CommandPreConditions.NotSafeForWork);\n}\n"],"mappings":";;;;;;;;;AAQA,SAAgB,kCAAkC,MAA2B,4BAAwD;AACpI,KAAI,KAAM,4BAA2B,OAAOA,6CAAqB,eAAe"}