UNPKG

fallout-utility

Version:
16 lines (15 loc) 454 B
export interface CommandData { name?: string; prefix?: string; args: string[]; raw: string; rawArgs: string; separator: string; } /** * Returns the command and arguments from a string * @param string Parse message command from this string * @param prefix Check this command's prefix * @param separator Set arg separator */ export declare function getCommand(string: string, prefix?: string, separator?: string): CommandData;