mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Should be making the self friends stuff null if bot acc
This commit is contained in:
parent
db1435910d
commit
c247a3979b
2 changed files with 6 additions and 6 deletions
|
|
@ -1585,9 +1585,9 @@ var InternalClient = (function () {
|
|||
}
|
||||
});
|
||||
} else {
|
||||
data.friends = null;
|
||||
data.incoming_friend_requests = null;
|
||||
data.outgoing_friend_requests = null;
|
||||
self.friends = null;
|
||||
self.incoming_friend_requests = null;
|
||||
self.outgoing_friend_requests = null;
|
||||
}
|
||||
self.state = _ConnectionState2["default"].READY;
|
||||
|
||||
|
|
|
|||
|
|
@ -1321,9 +1321,9 @@ export default class InternalClient {
|
|||
}
|
||||
});
|
||||
} else {
|
||||
data.friends = null;
|
||||
data.incoming_friend_requests = null;
|
||||
data.outgoing_friend_requests = null;
|
||||
self.friends = null;
|
||||
self.incoming_friend_requests = null;
|
||||
self.outgoing_friend_requests = null;
|
||||
}
|
||||
self.state = ConnectionState.READY;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue