Methods
register
- register(source: number, name: string | string[], handler: Handler, config?: Config, isClientCommand?: boolean): boolean
Parameters
source: number
name: string | string[]
config: Config = {}
isClientCommand: boolean = false
Returns boolean
Registrating a command. If isClientCommand was set true, the handler would just triggering a client registered command