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
package/src/client/Client.js
CHANGED
|
@@ -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 } });
|