Skip to main content

Namespace: PreconditionResolvers

Index

Functions

FunctionDescription
parseConstructorPreConditionsCooldownAppends the Cooldown precondition when Command.Options.cooldownLimit and
parseConstructorPreConditionsNsfwAppends the NSFW precondition if SubcommandMappingMethod.nsfw is set to true.
parseConstructorPreConditionsRequiredClientPermissionsAppends the ClientPermissions precondition when Command.Options.requiredClientPermissions resolves to a
parseConstructorPreConditionsRequiredUserPermissionsAppends the UserPermissions precondition when Command.Options.requiredUserPermissions resolves to a
parseConstructorPreConditionsRunInAppends the RunIn precondition based on the values passed, defaulting to null, which doesn't add a