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

x/natico/examples/deps.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/examples/deps.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