Closed jj2neat closed 4 years ago
(documentation was wrong) told me to do:
new manager(client, nodes, {}) turns out it was new manager(nodes, client, {})
there is no client so both are wrong
its new Manager(nodes, options)
so new Manager(nodes, { user: "bot user id", send: () => { // do stuff here }; });
which i have explained in discord
(node:3904) UnhandledPromiseRejectionWarning: TypeError: nodes is not iterable at new Manager (C:\Users\jnsho\node_modules\lavacord\dist\lib\Manager.js:17:28)
nodes =
[ { name: 'Node Test #1', host: 'localhost', port: 2333, password: 'youshallpass' } ]