Function: parseConstructorPreConditionsNsfw()
parseConstructorPreConditionsNsfw(
nsfw
:undefined
|boolean
,preconditionContainerArray
:PreconditionContainerArray
):void
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