Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>NaticoCommandHandlerOptions

A powerful and customizable framework for Discordeno
Latest
interface NaticoCommandHandlerOptions
import { type NaticoCommandHandlerOptions } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

optional
directory: string
optional
prefix: prefixFn | string | string[]
optional
IgnoreCD: bigint[]
optional
owners: bigint[]
optional
cooldown: number

cooldown in millieseconds

optional
ratelimit: number
optional
superusers: bigint[]
optional
guildonly: boolean

Commands will only work in guild channels with this on

optional
handleEdits: boolean
optional
subType: "single" | "multiple"

Single means all subcommands in the same file; multiple means in every file

optional
commandUtil: boolean
optional
storeMessages: boolean
optional
mentionPrefix: boolean
optional
handleSlashCommands: boolean
optional
handleArgs: boolean