1.1.1 • Published 2 years ago

apy-wrapper v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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] }));
}
1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago