mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 19:50:55 +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 {
|
} 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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue