djs-selfbot-v13 3.7.11 → 3.7.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "djs-selfbot-v13",
3
- "version": "3.7.11",
3
+ "version": "3.7.12",
4
4
  "description": "An unofficial discord.js fork for creating selfbots",
5
5
  "main": "./src/index.js",
6
6
  "types": "./typings/index.d.ts",
@@ -490,6 +490,7 @@ class Client extends BaseClient {
490
490
 
491
491
  // Make the API request with the provided bot token
492
492
  const data = await this.api.users(id).get({
493
+ auth: false,
493
494
  headers: {
494
495
  Authorization: `Bot ${cleanToken}`
495
496
  }
@@ -635,7 +635,7 @@ class ClientUser extends User {
635
635
  * @returns {Promise<ClientUser>}
636
636
  */
637
637
  setClan(guild) {
638
- const id = this.guilds.resolveId(guild);
638
+ const id = this.client.guilds.resolveId(guild);
639
639
  if (!id) throw new TypeError('INVALID_TYPE', 'guild', 'GuildResolvable');
640
640
 
641
641
  return this.client.api.users['@me'].clan.put({ data: { identity_guild_id: id, identity_enabled: true } });