From 1d28e030cee9356e602122b44fbab5cb43f1ec98 Mon Sep 17 00:00:00 2001 From: Cohee Date: Wed, 7 Jun 2023 23:08:20 +0300 Subject: [PATCH] Fix Poe client --- src/poe-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poe-client.js b/src/poe-client.js index be0086beb..5d8e4fc86 100644 --- a/src/poe-client.js +++ b/src/poe-client.js @@ -377,7 +377,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 = {}; const promises = [];