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.3 to 1.1.4

6

index.js
const Client = require('./structures/client/client')
const Utils = require('./structures/util')
const {Colors, parseEmoji, resolveColor} = require('./structures/util')
const Attachment = require('./structures/models/Attachment')

@@ -42,3 +42,5 @@ const Guild = require('./structures/models/Guild')

Client,
Utils,
parseEmoji,
resolveColor,
Colors,
Attachment,

@@ -45,0 +47,0 @@ Guild,

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

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

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

@@ -0,1 +1,2 @@

const Utils = require('../util/index')
module.exports = class Embed {

@@ -58,2 +59,3 @@ /**

let packed = {}
if(typeof this.color !== "undefined") this.color = Utils.resolveColor(this.color)
if(typeof this.image === 'string') this.image = {url: this.image}

@@ -60,0 +62,0 @@ if(typeof this.thumbnail === 'string') this.thumbnail = {url: this.thumbnail}

Sorry, the diff of this file is too big to display

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