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

Shardin problem #510

Open
Narkeus2230 opened this issue Dec 5, 2023 · 0 comments
Open

Shardin problem #510

Narkeus2230 opened this issue Dec 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Narkeus2230
Copy link

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

Versions

  • discord-giveaways version: 6.0.1
  • discord.js version: 14.13.0
@Narkeus2230 Narkeus2230 added the bug Something isn't working label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant