Socket
Socket
Sign inDemoInstall

nekobot-api

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.3 to 1.4.0

2

dist/package.json
{
"name": "nekobot-api",
"version": "1.3.3",
"version": "1.4.0",
"description": "NekoBot API wrapper for Node.js",

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

@@ -165,3 +165,9 @@ import { NekoBot } from "./NekoBot";

trash(url: string): Promise<string>;
/**
* Stickbug Image
* @param {string} url - Image url for stickbug
* @returns {Promise<string>} The image URL
*/
stickbug(url: string): Promise<string>;
}
export { ImageGeneration };

@@ -410,4 +410,20 @@ "use strict";

}
/**
* Stickbug Image
* @param {string} url - Image url for stickbug
* @returns {Promise<string>} The image URL
*/
stickbug(url) {
return new Promise((resolve, reject) => {
this.client
.request("imagegen", {
type: "stickbug",
url
})
.then((res) => resolve(res.body.message))
.catch(reject);
});
}
}
exports.ImageGeneration = ImageGeneration;
//# sourceMappingURL=ImageGeneration.js.map
{
"name": "nekobot-api",
"version": "1.3.3",
"version": "1.4.0",
"description": "NekoBot API wrapper for Node.js",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc