Skip to content

AttachmentService

github-actions[bot] edited this page Sep 30, 2024 · 4 revisions

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()


🛈 Client

🛈 AddonService

🛈 AttachmentService

🛈 ChannelService

🛈 CommandService

🛈 ComponentService

🛈 ErrorService

🛈 EventService

🛈 ExpressionService

🛈 GuildService

🛈 LogService

🛈 MessageService

🛈 PermissionService

🛈 RoleService

🛈 StorageService

🛈 TypeService

🛈 UserService

🛈 UtilService

🛈 VoiceService


Clone this wiki locally