mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
Should be making the self friends stuff null if bot acc
This commit is contained in:
@@ -1585,9 +1585,9 @@ var InternalClient = (function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
data.friends = null;
|
self.friends = null;
|
||||||
data.incoming_friend_requests = null;
|
self.incoming_friend_requests = null;
|
||||||
data.outgoing_friend_requests = null;
|
self.outgoing_friend_requests = null;
|
||||||
}
|
}
|
||||||
self.state = _ConnectionState2["default"].READY;
|
self.state = _ConnectionState2["default"].READY;
|
||||||
|
|
||||||
|
|||||||
@@ -1321,9 +1321,9 @@ export default class InternalClient {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
data.friends = null;
|
self.friends = null;
|
||||||
data.incoming_friend_requests = null;
|
self.incoming_friend_requests = null;
|
||||||
data.outgoing_friend_requests = null;
|
self.outgoing_friend_requests = null;
|
||||||
}
|
}
|
||||||
self.state = ConnectionState.READY;
|
self.state = ConnectionState.READY;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user