DarkBoy-js / ez-games.js

MIT License
3 stars 2 forks source link

I'm not quite sure if this problem is from my side or yours but please take a look at this #1

Open Foxy-Modder opened 3 years ago

Foxy-Modder commented 3 years ago

(node:6912) UnhandledPromiseRejectionWarning: TypeError: db.fetch is not a function at getpoints (C:\Users\H P\Documents\GitHub\Test\node_modules\ez-games.js\src\games.js:75:31) at Object.points (C:\Users\H P\Documents\GitHub\Test\node_modules\ez-games.js\ez-games.js:9:18) at Object.execute (C:\Users\H P\Documents\GitHub\Test\src\commands\games\point.js:19:34) at Client. (C:\Users\H P\Documents\GitHub\Test\src\events\message.js:14:34) at Client.emit (events.js:315:20) at MessageCreateAction.handle (C:\Users\H P\Documents\GitHub\Test\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14) at Object.module.exports [as MESSAGE_CREATE] (C:\Users\H P\Documents\GitHub\Test\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32) at WebSocketManager.handlePacket (C:\Users\H P\Documents\GitHub\Test\node_modules\discord.js\src\client\websocket\WebSocketManager.js:384:31) at WebSocketShard.onPacket (C:\Users\H P\Documents\GitHub\Test\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22) at WebSocketShard.onMessage (C:\Users\H P\Documents\GitHub\Test\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10) (Use node --trace-warnings ... to show where the warning was created) (node:6912) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:6912) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

DarkBoy-js commented 3 years ago

define db + its problem from the package and sorry for late respone, if u have any good packages idea give me at my disc server discord.gg/devs ill be updating this package soon to slove 99% of the problems.

Foxy-Modder commented 3 years ago

ah its okay now

On Tue, Apr 6, 2021 at 6:08 PM DarkBoy-js @.***> wrote:

define db + its problem from the package and sorry for late respone, if u have any good packages idea give me at my disc server discord.gg/devs ill be updating this package soon to slove 99% of the problems.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DarkBoy-js/ez-games.js/issues/1#issuecomment-813999940, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASV2TNZPCUTPJMNAL3FLQMDTHLMRXANCNFSM4XY2E6DA .