Skip to main content
Module

x/natico/mod.ts>ArgumentGenerator

A powerful and customizable framework for Discordeno
Latest
class ArgumentGenerator
Re-export
import { ArgumentGenerator } from "https://deno.land/x/natico@4.0.0-pre.4/mod.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)