UNPKG

djskage

Version:

A Discord.js extension for utility commands

18 lines (17 loc) 523 B
import { Client, Guild } from "discord.js"; type ParsedArgs = { args: string[]; userId?: string; channelId?: string; roleId?: string; roleIds: string[]; userIds: string[]; channelIds: string[]; other: string[]; }; export declare class Args { static parse(content: string, client: Client, guild: Guild): ParsedArgs; static detectEntityType(id: string, guild: Guild, client: Client): "user" | "channel" | "role" | null; static extractId(input: string): string | null; } export {};