/home/container/Discord-Online-Forever/node_modules/eris/lib/Client.js:217
this.bot = this._token.startsWith("Bot ");
^
TypeError: Cannot read properties of undefined (reading 'startsWith')
at new Client (/home/container/Discord-Online-Forever/node_modules/eris/lib/Client.js:217:32)
at new Eris (/home/container/Discord-Online-Forever/node_modules/eris/index.js:6:12)
at Object. (/home/container/Discord-Online-Forever/index.js:5:13)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Node.js v20.10.0
i got the same error, it means the token is not defined in the environment variables. Once you sort that it will go away and work (however the status doesnt stay green for me, but thats a different issue)
/home/container/Discord-Online-Forever/node_modules/eris/lib/Client.js:217 this.bot = this._token.startsWith("Bot "); ^ TypeError: Cannot read properties of undefined (reading 'startsWith') at new Client (/home/container/Discord-Online-Forever/node_modules/eris/lib/Client.js:217:32) at new Eris (/home/container/Discord-Online-Forever/node_modules/eris/index.js:6:12) at Object. (/home/container/Discord-Online-Forever/index.js:5:13)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Node.js v20.10.0