bind subcmd

merge-requests/4/head
Matthew 2020-07-01 00:50:26 -04:00
parent 20ce572fef
commit dfa6e6e642
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import { Message } from 'eris'; import { Message } from 'eris';
import { Client, Command } from '../class'; import { Client, Command } from '../class';
import SystemD_Linger from './systemd_linger'; import SystemD_Linger from './systemd_linger';
import SystemD_Status from './systemd_status';
export default class SystemD extends Command { export default class SystemD extends Command {
constructor(client: Client) { constructor(client: Client) {
@ -8,7 +9,7 @@ export default class SystemD extends Command {
this.name = 'systemd'; this.name = 'systemd';
this.description = 'Manages various aspects for your user SystemD.'; this.description = 'Manages various aspects for your user SystemD.';
this.usage = `Run ${this.client.config.prefix}${this.name} [subcommand] for usage information`; this.usage = `Run ${this.client.config.prefix}${this.name} [subcommand] for usage information`;
this.subcmds = [SystemD_Linger]; this.subcmds = [SystemD_Linger, SystemD_Status];
this.enabled = true; this.enabled = true;
} }