Example command
This commit is contained in:
1
dev-portal/katoolin
Submodule
1
dev-portal/katoolin
Submodule
Submodule dev-portal/katoolin added at 44202dc567
Binary file not shown.
1
dev-portal/wifresti
Submodule
1
dev-portal/wifresti
Submodule
Submodule dev-portal/wifresti added at f06a4fe60d
@@ -1,9 +1,16 @@
|
||||
import {Logger} from './logger';
|
||||
|
||||
let modules;
|
||||
let commands;
|
||||
|
||||
export class CommandManager {
|
||||
static async load() {
|
||||
|
||||
}
|
||||
|
||||
static get Modules() {return modules;}
|
||||
static get Commands() {return commands;}
|
||||
|
||||
static async reload() {
|
||||
|
||||
}
|
||||
|
||||
27
src/commands/common.js
Normal file
27
src/commands/common.js
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
export class Command1 {
|
||||
static get Command() {return 'command1'}
|
||||
static get Alias() {return ['alias1', 'alias2']}
|
||||
static get Usage() {return 'command1 [args]'}
|
||||
static get Description() {return 'Echos the users input'}
|
||||
|
||||
static Init() {
|
||||
|
||||
}
|
||||
|
||||
static Exec(message, client, next) {
|
||||
|
||||
}
|
||||
|
||||
static Dispose() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export class Command2 {
|
||||
|
||||
}
|
||||
|
||||
export class Command3 {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user