1.0.0 • Published 4 years ago

bbcord.js v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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!')
    }
}