Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/natico/src/mod.ts>NaticoCommandHandler#findCommand

A powerful and customizable framework for Discordeno
Latest
method NaticoCommandHandler.prototype.findCommand
Re-export
import { NaticoCommandHandler } from "https://deno.land/x/natico@4.0.0-pre.4/src/mod.ts";

Simple function to find a command could be useful outside of the handler

Parameters

command: string | undefined
  • Command you want to search for

Returns

NaticoCommand | undefined

Command object or undefined