text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.User = void 0;
  class User {
      id;
      username;
      discriminator;
      avatar;
      bot;
      banner;
      client;
      constructor(data, client) {
          this.id = data.id;
          this.username = data.username;
          this.discriminator = data.discriminator;
          this.avatar = data.avatar;
          this.bot = data.bot;
          this.banner = data.banner;
          this.client = client;
      }
      get bannerURL() {
          if (!this.banner) {
              return null;
          }
          return `https://cdn.discordapp.com/banners/${this.id}/${this.banner}.${this.banner.startsWith('a_') ? 'gif' : 'png'}?size=2048`;
      }
  }
  exports.User = User;
  //# sourceMappingURL=ApiUser.js.map