Example command

This commit is contained in:
Ben
2018-11-24 10:59:37 +00:00
parent af49362441
commit 48c4038387
5 changed files with 37 additions and 1 deletions

1
dev-portal/katoolin Submodule

Submodule dev-portal/katoolin added at 44202dc567

1
dev-portal/wifresti Submodule

Submodule dev-portal/wifresti added at f06a4fe60d

View File

@@ -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
View 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 {
}