Function: parseConstructorPreConditionsNsfw()
parseConstructorPreConditionsNsfw(
nsfw
:undefined
|boolean
,preconditionContainerArray
:PreconditionContainerArray
):void
Defined in: projects/framework/src/lib/precondition-resolvers/nsfw.ts:9
Appends the NSFW
precondition if SubcommandMappingMethod.nsfw is set to true.
Parameters
Parameter | Type | Description |
---|---|---|
nsfw | undefined | boolean | Whether this command is NSFW or not. |
preconditionContainerArray | PreconditionContainerArray | The precondition container array to append the precondition to. |
Returns
void