text: class Command {
    constructor(client, {
      name = null,
      description = "No description provided.",
      category = "Miscellaneous",
      usage = "No usage provided.",
      enabled = true,
      guildOnly = false,
      aliases = new Array(),
      permLevel = "User"
    }) {
      this.client = client;
      this.conf = { enabled, guildOnly, aliases, permLevel };
      this.help = { name, description, category, usage };
    }
    async verifyUser(message, user) {
      try {
        const match = /(?:<@!?)?([0-9]{17,20})>?/gi.exec(user);
        if (!match) {
          message.response("❕", "Invalid user id.");
          return;
        }
        const id = match[1];
        const check = await this.client.users.fetch(id);
        if (check.username !== undefined) return check;
      } catch (error) {
        throw error;
      }
    }
  
    async verifyMember(message, member) {
      const user = await this.verifyUser(message, member);
      const target = await message.guild.members.fetch(user);
      return target;
    }
  }
  module.exports = Command;
  