diff --git a/poe-client.js b/poe-client.js index 2ffa5c8ab..a3d3e70bb 100644 --- a/poe-client.js +++ b/poe-client.js @@ -318,7 +318,7 @@ class Client { if (!viewer.availableBots) { throw new Error('Invalid token.'); } - const botList = viewer.viewerBotList; + const botList = viewer.availableBotsConnection.edges.map(x => x.node); const retries = 2; const bots = {}; for (const bot of botList.filter(x => x.deletionState == 'not_deleted')) {