KartikeSingh / discord-youtube-notifications

An module to get youtube notifications.
11 stars 4 forks source link

quick.db issue #9

Open ItzFerr opened 11 months ago

ItzFerr commented 11 months ago

I got this error when I starting my bot.

if (!quick.has("channels")) quick.set("channels", []) ^

TypeError: quick.has is not a function at notifier._quickSetup (D:\yt-notif\node_modules\discord-bot-youtube-notifications\src\index.js:73:20) at new notifier (D:\yt-notif\node_modules\discord-bot-youtube-notifications\src\index.js:55:18)

KartikeSingh commented 11 months ago

hey if you do not pass a mongodb url, please install quick.db (I will add documentation stating this, so it doesnt happen again my bad!)

ItzFerr commented 11 months ago

hey if you do not pass a mongodb url, please install quick.db (I will add documentation stating this, so it doesnt happen again my bad!)

Hey, I have quick.db installed.

ItzFerr commented 11 months ago

you can look at this : https://media.discordapp.net/attachments/1156809634099773521/1166666609151197255/image.png?ex=654b51f3&is=6538dcf3&hm=2bd5ded4be05424270d6e70d214acb71e77677a29b272c2f45203b916f9073d3&=&width=722&height=473

KartikeSingh commented 10 months ago

I see thanks a lot for the information, I just realized I fixes this quick.db issue in a beta release and I forgot to publish it for real. Let me do that quickly, so shortly you should just install v-1.2.1 then you should be good

ItzFerr commented 10 months ago

I just installed 1.2.1 version. And getting this new problem


 if (this._mongoURI === "quick.db") quick.set('channels', this._channels);
                                                     ^

TypeError: quick.set is not a function