Open Narkeus2230 opened 12 months ago
My bot has 4 shards, for example, when a giveaway is started as the 1st shard, the giveaways started by other shards are deleted from the database.
I think there is a problem with the module's shard management.
https://github.com/Androz2091/discord-giveaways/blob/master/src/Manager.js#L505C53-L505C53 it runs async function inside .forEach which might be the reason
.forEach
Versions
discord-giveaways
discord.js
My bot has 4 shards, for example, when a giveaway is started as the 1st shard, the giveaways started by other shards are deleted from the database.
I think there is a problem with the module's shard management.
https://github.com/Androz2091/discord-giveaways/blob/master/src/Manager.js#L505C53-L505C53 it runs async function inside
.forEach
which might be the reasonVersions
discord-giveaways
version: 6.0.1discord.js
version: 14.13.0