3.4.0 • Published 3 years ago

vacefron v3.4.0

Weekly downloads
55
License
MIT
Repository
github
Last release
3 years ago

A wrapper for the VACEfron API in TypeScript.

Installation

With pnpm (recommended):

pnpm add vacefron

With npm:

npm i vacefron

With yarn:

yarn add vacefron

Example usages

Basic

const { VACEFronJS } = require('vacefron');
const vacefron = new VACEFronJS();

(async () => {
    const buffer = await vacefron.water('text');
    console.log(buffer);
})();

Discord

const { Client, MessageAttachment } = require('discord.js');
const client = new Client();

const { VACEFronJS } = require('vacefron');
const vacefron = new VACEFronJS();

client.on('message', async message => {
    if (message.content === '!iamspeed') {
        const buffer = await vacefron.iAmSpeed(message.author.displayAvatarURL());
        const attachment = new MessageAttachment(buffer, 'iamspeed.png');
    
        return message.channel.send(attachment);
    }   
});

client.login('token');

Other wrappers

Support

Discord server

Contributing

Anyone can contribute! Please just make them merge-worthy changes.

3.4.0

3 years ago

3.3.1

3 years ago

3.3.0

3 years ago

3.2.0

3 years ago

3.0.0

3 years ago

2.0.4

3 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago