register subcommand

merge-requests/1/merge
Matthew 2019-11-19 18:28:21 -05:00
parent e934d6d398
commit 5cc441115e
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 2 additions and 0 deletions

View File

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