Constructors
constructor
- new default(params, parent?, hash?): Command.default
Parameters
params: any
Optional
parent: any
Optional
hash: any
Properties
Optional
parent
parent?: any
parentBase
parentBase: any
uniqueHash
uniqueHash: any
Methods
find
- find(command): undefined | any[]
Returns undefined | any[]
setOp
- setOp(op): void
Returns void
space
- space(end?): " " | ""
Returns " " | ""
tab
- tab(command, i): any
Returns any
updateHistory
- updateHistory(): void
Returns void
use
- use(command, ctx?, op?): Promise<undefined | string>
Parameters
command: any
ctx: {
player?: Player;
} = {}
op: boolean = true
Returns Promise<undefined | string>