JustArtiom / ArtiomsHosting-Bot

A discord bot to let your friends and clients use your hosting services trough discord and relied on pterodactyl panel backend
Other
34 stars 18 forks source link

TypeError: db.table is not a constructor #7

Closed Mrfixit935 closed 2 years ago

Mrfixit935 commented 2 years ago

/home/container/index.js:15 global.invinfo = new db.table("InviteInfo"); ^ TypeError: db.table is not a constructor at Object. (/home/container/index.js:15:18) at Module._compile (node:internal/modules/cjs/loader:1105:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159: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:77:12) at node:internal/main/run_main_module:17:47

JustArtiom commented 2 years ago

Ur brain is not constructed proprietly. npm i quick.db@7.1.3

SpaceDevelopmentDC commented 2 years ago

Ur brain is not constructed proprietly. npm i quick.db@7.1.3

lmao