Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

devland.js

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devland.js - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

2

package.json

@@ -10,3 +10,3 @@ {

"name": "devland.js",
"version": "1.1.4",
"version": "1.1.5",
"description": "A powerful API wrapper for the Discord API designed for modern bots",

@@ -13,0 +13,0 @@ "main": "index.js",

@@ -20,3 +20,4 @@ const Client = require('../../client/client')

obj.id = data.id
obj.user = client.users.get(data.user_id)
obj.user = client.users.get(data.user_id) || await client.rest.get(client._ENDPOINTS.USER(data.user_id))
if(obj.user && !(obj.user instanceof User)) obj.user = new User(client, obj.user)
obj.user.tag = obj.user.username + '#' + obj.user.discriminator

@@ -23,0 +24,0 @@ obj.action_type = data.action_type

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