Fix Poe client

This commit is contained in:
Cohee
2023-06-07 23:08:20 +03:00
parent 434bb50c81
commit 1d28e030ce

View File

@ -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 = [];