bbcord.js

1.0.0 • Public • Published

Bubble

Bubble - A new discord.js wrapper

Installation

Quite a simple process but some dependencies require the C++ Visual Studio Workload/Build Tools and Python 2.7

npm i bubble

Starting up

const bubble = require('bubble');
const Bubble = new bubble();
Bubble.local.env()
const bot = Bubble.bot;
const token = proccess.env.TOKEN;

Bubble.Start();

Local Tool Tree and Variable Arc

The "Bubble.local" tree has many nice and useful tools which you can see below!

DotEnv (Motdotla and more...)

Bubble.local.env();

FileSystem (fs);

Bubble.local.fs;

Quick.DB (PlexiDev)

Quick.DB isnt a desirable DataBase structure but you can run npm i @JeffreyPFC21/bubble/nodbbuild to remove Quick.DB functionality

Bubble.local.db;

Local Bot User Object (discord.js)

Bubble.local.user;

Bubble Build Variables

Bubble.local.wrapper;
// --> ["version","name"]

Making a command

To make a command, create a new "Bubble.Command" instance

const { Command } = require('bubble');
module.exports = class ExampleCommand extends Command {
    constructor() {
        super('name here', 'description here', 'category here',['aliases here'])
    }

    async run(client, message, args) {
      message.channel.send('Bubble works!')
    }
}

Readme

Keywords

Package Sidebar

Install

npm i bbcord.js

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.5 kB

Total Files

6

Last publish

Collaborators

  • jeffreypfc21