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

x/harmony/src/utils/command.ts>parseArgs

An easy to use Discord API Library for Deno.
Go to Latest
function parseArgs
import { parseArgs } from "https://deno.land/x/harmony@v2.6.0/src/utils/command.ts";

Parameters

commandArgs: Args[] | undefined
messageArgs: string[]
message: Message

Returns

Promise<Record<string,
| User
| Role
| string
| number
| boolean
> | null
>