register subcommand
parent
e934d6d398
commit
5cc441115e
|
@ -4,6 +4,7 @@ import { Message } from 'eris';
|
||||||
import { Client } from '..';
|
import { Client } from '..';
|
||||||
import { Command, RichEmbed } from '../class';
|
import { Command, RichEmbed } from '../class';
|
||||||
import { dataConversion } from '../functions';
|
import { dataConversion } from '../functions';
|
||||||
|
import Me from './whois_me';
|
||||||
|
|
||||||
export default class Whois extends Command {
|
export default class Whois extends Command {
|
||||||
constructor(client: Client) {
|
constructor(client: Client) {
|
||||||
|
@ -13,6 +14,7 @@ export default class Whois extends Command {
|
||||||
this.aliases = ['account', 'user'];
|
this.aliases = ['account', 'user'];
|
||||||
this.usage = `${this.client.config.prefix}account [User Name | User ID | Email Address]`;
|
this.usage = `${this.client.config.prefix}account [User Name | User ID | Email Address]`;
|
||||||
this.permissions = { roles: ['446104438969466890'] };
|
this.permissions = { roles: ['446104438969466890'] };
|
||||||
|
this.subcmds = [Me];
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue