Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Cyberghxst/apy-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APY

The Node.JS wrapper for interfacing with APY.

Example Image

Native

const { Image } = require('apy-wrapper');

(async () => {
    let image = await Image.get('discordjs', { text: 'APY' });
    console.log(image);
});

Discord.js

const { AttachmentBuilder } = require('discord.js'),
    { Image } = require('apy-wrapper');
...
async run(message, args) {
    let image = await Image.get('discordjs', { text: 'APY' });
    let attach = new AttachmentBuilder(image, { name: 'myAPYImage.jpeg' });
    return (await message.channel.send({ content: 'Hello!', files: [attach] }));
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published