Giter Club home page Giter Club logo

Comments (28)

BallisticOK avatar BallisticOK commented on August 15, 2024 1

OMG I GOT IT thx thats all i needed to know

souldof sead that from the start lol but again THX

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

and dont wary about the IP thats invalid its just what shows on the panel

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

just in case

/home/container/node_modules/node-fetch/lib/index.js:1491
reject(new FetchError(request to ${request.url} failed, reason: ${err.message}, 'system', err));
^
FetchError: request to https://dbd-external-stats.assistants.ga/registerProject failed, reason: getaddrinfo EAI_AGAIN dbd-external-stats.assistants.ga
at ClientRequest. (/home/container/node_modules/node-fetch/lib/index.js:1491:11)
at ClientRequest.emit (node:events:394:28)
at TLSSocket.socketErrorListener (node:_http_client:447:9)
at TLSSocket.emit (node:events:394:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
type: 'system',
errno: 'EAI_AGAIN',
code: 'EAI_AGAIN'
}

there is the error

from core.

breftejk avatar breftejk commented on August 15, 2024

Please make sure ur using the latest version after domain change.

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

i'm using the latest

from core.

breftejk avatar breftejk commented on August 15, 2024

2.2.23?

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

yes

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

hello i fix it ;)

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

im getting a new problem now

/home/container/bot.js:234
const Dashboard = new DBD.Dashboard({
^

TypeError: DBD.Dashboard is not a constructor
at Object. (/home/container/bot.js:234:20)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47

from core.

breftejk avatar breftejk commented on August 15, 2024

image

from core.

breftejk avatar breftejk commented on August 15, 2024

(Don't do step 1, you are already on v2)

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

ya im just trying to figer this out xD

from core.

breftejk avatar breftejk commented on August 15, 2024

image

from core.

breftejk avatar breftejk commented on August 15, 2024

ignore altometra and capriham, just use dark

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

yours is done lot dif then mine i did not code all of my bot so i dont realy know what im doing

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

getting
/home/container/bot.js:239
const Dashboard = new DBD.Dashboard({
^

TypeError: DBD.Dashboard is not a constructor
at Object. (/home/container/bot.js:239:19)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47

again

from core.

breftejk avatar breftejk commented on August 15, 2024

That's bcse ur not awaiting useLicense and doing DBD.Dashboard = DBD.UpdatedClass() before creating Dashboard

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

i do not know what you are talking about

from core.

breftejk avatar breftejk commented on August 15, 2024

"i did not code all of my bot"
Which OpenSource project are you using?

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

one of my frends game me there bot code and he helped me set it started im just like realy new to javascript

from core.

breftejk avatar breftejk commented on August 15, 2024

Ask they to help you, you really don't understand what I'm saying, like you said - 'you're like really new to javascript'. They will understand what I'm saying and help (aKa sponfeed tho) you.

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

i dont like bing called a spoonfeeder unlike others i try

from core.

breftejk avatar breftejk commented on August 15, 2024

I see and that's true, but only spoonfeed will help you at this point, sadly.

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

im learning slowly just some thinks just go over my head atm but thx for trying

from core.

breftejk avatar breftejk commented on August 15, 2024

All you really need to do is make sure Dashboard is inited in this way:
image
When you'll figure this out, it will be fixed.

from core.

BallisticOK avatar BallisticOK commented on August 15, 2024

like atm i fixed that problem but now im getting
SyntaxError: await is only valid in async functions and the top level bodies of modules

and idk how to make a async functions

from core.

breftejk avatar breftejk commented on August 15, 2024

Ignoring Altometra, Capriham and DarkDashboard will be const DarkDashboard = require('dbd-dark-dashboard'); for you.

from core.

breftejk avatar breftejk commented on August 15, 2024

like atm i fixed that problem but now im getting SyntaxError: await is only valid in async functions and the top level bodies of modules

and idk how to make a async functions

you need to move your code to an async function - async () tho:

(async()=>{
// YOUR CODE
})();

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.