AttachmentService - shysolocup/noscord.js GitHub Wiki

service class for creating and altering attachments and images

heavily uses skr canvas

AeplSubClass

JS
const { Client } = require('noscord.js');                
const client = new Client();

client.import("attachments");

let imgUrl = "https://raw.githubusercontent.com/shysolocup/noscord.js/main/assets/mini%20noscord.js.png";

client.on("ready", async () => 
    await attachments.create(imgUrl, { name: "logo", width: 50, height: 50 });
});

Methods

Classes

🛈 create()

🛈 Attachment

🛈 resize()

🛈 circlify()

🛈 blow()


⚠️ **GitHub.com Fallback** ⚠️