diff --git a/README.md b/README.md index 8cbcb3f..1c69d7c 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Current version it is not available for production deployment. - Modular features with optional congifuration. - Experience system with levels and xp. +- Popular canva design for rank and profile command. - Web application (dashboard) for optional configuration settings. ## Node start guide @@ -27,7 +28,7 @@ npn run start [cls && node bot.js] or nodemon ## Dashboard -> **Release**: No estimated time of release, this may be changed later. +> **Live**: Beta release https://eres.fun > **Tip**: Visit this repository to check out the latest version. ## Envoirement settings @@ -57,6 +58,6 @@ SUPPORT_SERVER= DEVELOPER_ID= ``` > **Note** - Envoirement settings can be changed here: [.env.example](https://github.com/skillzl/eres/blob/main/.env.example) + Envoirement settings need to be in a ".env" file. ## License This project is licensed under the Apache License 2.0 License - see the [LICENSE](https://github.com/skillzl/eres/blob/main/LICENSE) file for details. diff --git a/package-lock.json b/package-lock.json index fe64cb0..59dd33e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "eres-main", - "version": "1.5.0-b", + "version": "1.6.0-b", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 5beadfc..99c6f30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eres-main", - "version": "1.5.0-b", + "version": "1.6.0-b", "description": "🍍 Eres; new Discord application with modern web dashboard and new features for your community.", "main": "bot.js", "scripts": { diff --git a/server.js b/server.js index 4f5cc39..db16197 100644 --- a/server.js +++ b/server.js @@ -31,9 +31,11 @@ module.exports.load = async (client) => { passport.serializeUser((user, done) => { done(null, user); }); + passport.deserializeUser((obj, done) => { done(null, obj); }); + passport.use(new Strategy({ clientID: process.env.CLIENT_ID, clientSecret: process.env.CLIENT_SECRET,