Skip to main content
Module

x/ranmess/mod.ts>QuotableConfig

💻 Quotable Wrapper and CLI Tool
Latest
interface QuotableConfig
import { type QuotableConfig } from "https://deno.land/x/ranmess@v2.3.0/mod.ts";

Properties

maxLength: number

The maximum length in characters

minLength: number

The minimum length in characters

tags: string

Filter random quote by tag(s). Takes a list of one or more tag names, separated by a comma (meaning AND) or a pipe (meaning OR). A comma separated list will match quotes that have all of the given tags. While a pipe (|) separated list will match quotes that have either of the provided tags.

authorId: string

Filter random quote by authorId(s). Takes a list of one or more authorId, separated by a pipe (meaning OR). A pipe (|) separated list will match quotes that have either of the provided authorId.

author: string

Filter random quote by author(s). Takes a list of one or more author names, separated by a pipe (meaning OR). A pipe (|) separated list will match quotes that have either of the provided author name.