Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: dClient.db.fetch is not a function #1

Open
Stryff opened this issue May 17, 2023 · 0 comments
Open

TypeError: dClient.db.fetch is not a function #1

Stryff opened this issue May 17, 2023 · 0 comments

Comments

@Stryff
Copy link

Stryff commented May 17, 2023

when i added all the info this error appeared when i ran it on node js
TypeError: dClient.db.fetch is not a function
here is the full error:

[YOUTUBE] Service Started
For Support please join https://discord.gg/PrGCCWpDbP
C:\Users\srctest\index.js:17
if (dClient.db.fetch(postedVideos) === null) dClient.db.set(postedVideos, []);
^

TypeError: dClient.db.fetch is not a function
at handleUploads (C:\Users\srctest\index.js:17:20)
at Client. (C:\Users\srctest\index.js:13:5)
at Client.emit (node:events:511:28)
at WebSocketManager.triggerClientReady (C:\Users\srctest\node_modules\discord.js\src\client\websocket\WebSocketManager.js:387:17)
at WebSocketManager.checkShardsReady (C:\Users\srctest\node_modules\discord.js\src\client\websocket\WebSocketManager.js:370:10)
at WebSocketShard. (C:\Users\srctest\node_modules\discord.js\src\client\websocket\WebSocketManager.js:200:16)
at WebSocketShard.emit (node:events:511:28)
at WebSocketShard.checkReady (C:\Users\srctest\node_modules\discord.js\src\client\websocket\WebSocketShard.js:181:12)
at WebSocketShard.gotGuild (C:\Users\srctest\node_modules\discord.js\src\client\websocket\WebSocketShard.js:155:10)
at WebSocketManager. (C:\Users\srctest\node_modules\discord.js\src\client\websocket\WebSocketManager.js:240:15)

Node.js v20.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant