zyno-bot-addons
Advanced tools
Comparing version 1.1.5-beta to 1.1.6-beta
{ | ||
"name": "zyno-bot-addons", | ||
"version": "1.1.5-beta", | ||
"version": "1.1.6-beta", | ||
"description": "Create easily addons for Zyno Bot", | ||
@@ -16,3 +16,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"discord.js": "^14.13.0", | ||
"discord.js": "^14.14.1", | ||
"valuesaver": "^1.9.3", | ||
@@ -19,0 +19,0 @@ "ws": "^8.14.2", |
@@ -25,5 +25,7 @@ const { validatePermission, getAddonPermission } = require('../../utils/functions.js'); | ||
this.name = emoji.name; | ||
this.url = emoji.url; | ||
this.string = `<:${this.name}:${this.id}>`; | ||
if(guild) this.guild.emojis.set(this.id, this); | ||
this.getURL = function(){ | ||
return emoji.imageURL(); | ||
} | ||
this.setName = function(name, reason){ | ||
@@ -30,0 +32,0 @@ return new Promise((resolve, reject) => { |
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
468682
9680
Updateddiscord.js@^14.14.1