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

Replace require("data.json") by readFile #2

Open
Coko7 opened this issue Sep 15, 2022 · 0 comments
Open

Replace require("data.json") by readFile #2

Coko7 opened this issue Sep 15, 2022 · 0 comments
Labels
Priority: High Issue must be resolved in priority Type: Invalid This doesn't seem right

Comments

@Coko7
Copy link
Owner

Coko7 commented Sep 15, 2022

The data.json is not present on Git by default and must be created in order for the bot to run because of require("data.json").
Change this call to a readFile call and create the file if it does not exist beforehand.

@Coko7 Coko7 added Type: Invalid This doesn't seem right Priority: High Issue must be resolved in priority labels Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Issue must be resolved in priority Type: Invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant