revbot.js 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1889,6 +1889,18 @@ declare class ServerMember extends Base {
1889
1889
  * @returns {User} The user instance.
1890
1890
  */
1891
1891
  get user(): User;
1892
+ /**
1893
+ * Gets the username of the user.
1894
+ *
1895
+ * @returns {string} The username of the user.
1896
+ */
1897
+ get username(): string;
1898
+ /**
1899
+ * Gets whether the user is a bot.
1900
+ *
1901
+ * @returns {boolean} Whether the user is a bot.
1902
+ */
1903
+ get bot(): boolean;
1892
1904
  /**
1893
1905
  * Retrieves the server this member belongs to.
1894
1906
  *
package/dist/index.d.ts CHANGED
@@ -1889,6 +1889,18 @@ declare class ServerMember extends Base {
1889
1889
  * @returns {User} The user instance.
1890
1890
  */
1891
1891
  get user(): User;
1892
+ /**
1893
+ * Gets the username of the user.
1894
+ *
1895
+ * @returns {string} The username of the user.
1896
+ */
1897
+ get username(): string;
1898
+ /**
1899
+ * Gets whether the user is a bot.
1900
+ *
1901
+ * @returns {boolean} Whether the user is a bot.
1902
+ */
1903
+ get bot(): boolean;
1892
1904
  /**
1893
1905
  * Retrieves the server this member belongs to.
1894
1906
  *
package/dist/index.js CHANGED
@@ -2418,6 +2418,22 @@ var ServerMember3 = class extends Base {
2418
2418
  get user() {
2419
2419
  return this.client.users.cache.get(this.id);
2420
2420
  }
2421
+ /**
2422
+ * Gets the username of the user.
2423
+ *
2424
+ * @returns {string} The username of the user.
2425
+ */
2426
+ get username() {
2427
+ return this.user.username;
2428
+ }
2429
+ /**
2430
+ * Gets whether the user is a bot.
2431
+ *
2432
+ * @returns {boolean} Whether the user is a bot.
2433
+ */
2434
+ get bot() {
2435
+ return this.user.bot;
2436
+ }
2421
2437
  /**
2422
2438
  * Retrieves the server this member belongs to.
2423
2439
  *
@@ -3360,7 +3376,7 @@ var import_node_events = require("events");
3360
3376
  var import_axios4 = __toESM(require("axios"));
3361
3377
 
3362
3378
  // package.json
3363
- var version = "0.2.3";
3379
+ var version = "0.2.4";
3364
3380
 
3365
3381
  // src/rest/restUtils/rateLimitQueue.ts
3366
3382
  var import_axios3 = __toESM(require("axios"));