fallout-utility
Version:
<h1 align="center"> fallout-utility <br> </h1>
16 lines (15 loc) • 454 B
TypeScript
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;