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 +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -2342,6 +2342,22 @@ var ServerMember3 = class extends Base {
|
|
|
2342
2342
|
get user() {
|
|
2343
2343
|
return this.client.users.cache.get(this.id);
|
|
2344
2344
|
}
|
|
2345
|
+
/**
|
|
2346
|
+
* Gets the username of the user.
|
|
2347
|
+
*
|
|
2348
|
+
* @returns {string} The username of the user.
|
|
2349
|
+
*/
|
|
2350
|
+
get username() {
|
|
2351
|
+
return this.user.username;
|
|
2352
|
+
}
|
|
2353
|
+
/**
|
|
2354
|
+
* Gets whether the user is a bot.
|
|
2355
|
+
*
|
|
2356
|
+
* @returns {boolean} Whether the user is a bot.
|
|
2357
|
+
*/
|
|
2358
|
+
get bot() {
|
|
2359
|
+
return this.user.bot;
|
|
2360
|
+
}
|
|
2345
2361
|
/**
|
|
2346
2362
|
* Retrieves the server this member belongs to.
|
|
2347
2363
|
*
|
|
@@ -3284,7 +3300,7 @@ import { EventEmitter } from "node:events";
|
|
|
3284
3300
|
import axios4, { AxiosError } from "axios";
|
|
3285
3301
|
|
|
3286
3302
|
// package.json
|
|
3287
|
-
var version = "0.2.
|
|
3303
|
+
var version = "0.2.4";
|
|
3288
3304
|
|
|
3289
3305
|
// src/rest/restUtils/rateLimitQueue.ts
|
|
3290
3306
|
import axios3 from "axios";
|