diff --git a/lib/BetterDiscord.js b/lib/BetterDiscord.js index 4f7a8813..5bda6a04 100644 --- a/lib/BetterDiscord.js +++ b/lib/BetterDiscord.js @@ -34,9 +34,9 @@ bdPluginStorage.defaults = { }; function initStorage() { - if(!_fs.existsSync(_cfg.dataPath + "/bdstorage.json")) { + if(!_fs.existsSync(_cfg.dataPath + "/bdStorage.json")) { bdStorage.data = bdStorage.defaults.data; - _fs.writeFileSync(_cfg.dataPath + "/bdstorage.json", JSON.stringify(bdStorage, null, 4)); + _fs.writeFileSync(_cfg.dataPath + "/bdStorage.json", JSON.stringify(bdStorage, null, 4)); } else { bdStorage.data = JSON.parse(_fs.readFileSync(_cfg.dataPath + "/bdStorage.json")); }