New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

djs-leveling

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djs-leveling - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

2

package.json
{
"name": "djs-leveling",
"version": "0.0.13",
"version": "0.0.14",
"description": "A simple to use leveling package for Discord",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -14,3 +14,3 @@ const mongoose = require('mongoose');

},
XP: async (user, guild, amount = 10, customMessage) => {
XP: async (user, guild, amount = 10) => {
if (!user) throw new TypeError("User ID was not provided.");

@@ -43,4 +43,5 @@ if (!guild) throw new TypeError("A Guild ID was not provided.")

level: 1,
xp: -userData.xp
}
}, {
xp: 0
})

@@ -62,5 +63,8 @@ newUserData.save().catch(err => console.log(err));

});
if (!userData) return;
if (!userData) {
return;
}
return userData;
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc