blowjs
v1.1.9
Published
<p align="center"> <img src="./images/blowjs-ico.png" width=250> </p>
Downloads
8
Readme
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