From 5cc441115ef06f060a91516329f414af7de4f9fb Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 19 Nov 2019 18:28:21 -0500 Subject: [PATCH] register subcommand --- src/commands/whois.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/whois.ts b/src/commands/whois.ts index 0e68dd1..3e1ec1a 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -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; }