Latest
function validateLength
import { validateLength } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Validates the length of a string in JS. Certain characters in JS can have multiple numbers in length in unicode and discords api is in python which treats length differently.

Parameters

text: string
options: { max?: number; min?: number; }
import validateLength
import { validateLength } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";