Socket
Socket
Sign inDemoInstall

zyno-bot-addons

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zyno-bot-addons - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

2

package.json
{
"name": "zyno-bot-addons",
"version": "1.0.13",
"version": "1.0.14",
"description": "Create easily addons for Zyno Bot",

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

const GuildChannel = require('./guildChannel.js');
const CategoryChannel = require('./categoryChannel.js');
const Message = require('../message.js');
const { validatePermission, getAddonPermission, getResolvableDate, getVideoQualityMode, getRegion } = require('../../../utils/functions.js');
const { getMessageContent } = require('../../../utils/messageFunctions.js');
const scopes = require('../../../bitfields/scopes.js');

@@ -47,2 +49,11 @@ const Save = require('../../save.js');

}
this.send = function(...content){
return new Promise((resolve, reject) => {
if(content.length === 0) return reject(`At least one argument must be given`);
let _content = getMessageContent(content);
data.send(_content).then(msg => {
resolve(new Message(msg, addon));
}).catch(reject);
});
}
this.edit = function(options){

@@ -49,0 +60,0 @@ return new Promise((resolve, reject) => {

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