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

x/natico/src/struct/commands/ArgumentGenerator.ts>ArgumentGenerator

A powerful and customizable framework for Discordeno
Latest
class ArgumentGenerator
import { ArgumentGenerator } from "https://deno.land/x/natico@4.0.0-pre.4/src/struct/commands/ArgumentGenerator.ts";

Constructors

new
ArgumentGenerator(client: NaticoClient)

Properties

arguments: Collection<string, Argument>
client: NaticoClient

Methods

boolean(_: DiscordenoMessage, args: string)
handleArgs(
command: NaticoCommand,
args?: string,
)

Parses the command arguments :stonks:

parseChannel(message: DiscordenoMessage, args: string)
parseRole(message: DiscordenoMessage, args: string)
parseUser(message: DiscordenoMessage, args: string)