Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Broadcast Eval bug #821

Open
2 tasks
PyroTechniac opened this issue Sep 30, 2019 · 0 comments
Open
2 tasks

Broadcast Eval bug #821

PyroTechniac opened this issue Sep 30, 2019 · 0 comments

Comments

@PyroTechniac
Copy link
Member

Describe the issue

In onceReady.js, the schedule is initialized before pieces, which means the coreSettings pieces are not disabled if sharding isn't used.
On rare occasions, the schedule will need to update a recurring task that missed it's time. This causes a db update, which attempts to update across shards thanks to the coreSettings events, which throws

Cannot read property 'broadcastEval' of null

Code or steps to reproduce

Expected and actual behavior

Further details

  • discord.js version: v12.0.0
  • node.js version: v10-v12
  • Klasa version: latest commit of settings
  • I have modified core files.
  • I have tested the issue on latest master. Commit hash:
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant