Androz2091 / discord-giveaways

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

How do you use the .json file to save data? #65

Closed birbified closed 4 years ago

birbified commented 4 years ago

I created a file named storage.json, but what am I supposed to put in there?

I get this error: SyntaxError: The storage file is not properly formatted (Unexpected end of JSON input).

Nico105 commented 4 years ago

You don't have to create one, the module will do it itself/there should already be one "giveaways.json" delete this one and then start the bot and try to make a giveaway, it should work

birbified commented 4 years ago

Thanks!