blowjs

1.1.9 • Public • Published

blowjs is a Bubblez.app library meant for ease of use and optimization, along with confirgurability

  • Want to learn how to use blowjs? Visit the docs here (only accessible on GitHub).
  • Having issues and need support? Visit our Discord here. Discord deleted! Just make an issue in GitHub

Example of blowjs

import Client from './index.mjs';
const client = new Client();

import dotenv from 'dotenv';
dotenv.config();

console.log('👌 Loading up blowjs!');

client.once('ready', async() => {
    console.log(`👀 Logged in as ${client.user.username}`);
});

client.on('post', async post => {
    console.log(`😉 A new post has been posted with the content of "${post.content}"`);

    switch(post.content) {
        case 'hello blowjs':
            post.reply('hi :)', null, false);
            break;

        case 'whats the latest devlog?':
            const latestBlog = await client.blogs.getLatest();
            post.reply(latestBlog.content);
            break;
    }
});

client.once('close', code => {
    console.log(`🔒 Closed on code ${code}`);
});

client.login(process.env.TOKEN);

Recent Updates

View all recent updates in the GitHub, I realize I will not update this section often at all

Bubblez Approval
Bubblez.app has approved blowjs

Readme

Keywords

none

Package Sidebar

Install

npm i blowjs

Weekly Downloads

0

Version

1.1.9

License

MIT

Unpacked Size

626 kB

Total Files

26

Last publish

Collaborators

  • pxpcandy