Androz2091 / discord-giveaways

🎉 Complete framework to facilitate the creation of giveaways using discord.js
https://discord-giveaways.js.org
MIT License
336 stars 127 forks source link

The channels I mentioned are a server channel but they do not accept #191

Closed ghost closed 3 years ago

ghost commented 3 years ago

image image

Nico105 commented 3 years ago
const giveawayChannel = message.mentions.channels.first();
client.giveawaysManager.start(giveawayChannel, {

You have that?

ghost commented 3 years ago
const giveawayChannel = message.mentions.channels.first();
client.giveawaysManager.start(giveawayChannel, {

You have that?

I was having a problem in the "mentions" part, when I fixed that part, this error was also fixed, sorry for opening unnecessary issue

ghost commented 3 years ago

after i finished this thing i noticed that such an error occurred image

ghost commented 3 years ago

this error occurs when a giveaway ends

Nico105 commented 3 years ago

This is a error from quickmongo based on mongoose. https://github.com/Automattic/mongoose/issues/9506 I did not really figure out yet how to fix it but it's not discord-giveaways itself that is causing this.

ghost commented 3 years ago

This is a error from quickmongo based on mongoose. Automattic/mongoose#9506 I did not really figure out yet how to fix it but it's not discord-giveaways itself that is causing this.

can't i fix this error?

ghost commented 3 years ago

(I have one more question: is this error important? So can the giveaways created by this error be broken, or could a serious problem occur?)

Nico105 commented 3 years ago

This is a error from quickmongo based on mongoose. Automattic/mongoose#9506 I did not really figure out yet how to fix it but it's not discord-giveaways itself that is causing this.

can't i fix this error?

If you find out how, as said idk yet

Nico105 commented 3 years ago

(I have one more question: is this error important? So can the giveaways created by this error be broken, or could a serious problem occur?)

The giveawa(s) it/themself should not get broken but what happens is that the functions you extended in your giveawaysManagerWithOwnDataBase don't execute properly/stop executing when the issue happens That's what i figured out so far

ghost commented 3 years ago

understood 😕