devland.js
Advanced tools
Comparing version 1.1.3 to 1.1.4
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
719907
12597