1.0.3 • Published 4 years ago

beamjs-node v1.0.3

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
4 years ago

BeamJS

npmnpmLibraries.io dependency status for latest releaseGitHub pull requestsnode

Contents

About

What is Beam?

Beam is a music-sharing, premium chat platform where you can socialise with your friends, talk on chat or voice, browse the internet with people all across the world.

Why have we created beam.js?

beam.js is a nodejs package we created for the intention of developers to create bot's on our platform!

Installation

Node.js 12.0.0 or newer is required.

npm install beamjs-node

Example usage

let beam = require("beamjs-node");
let client = new beam.Client({
    token: "", // Client Token
    debug: false // 'true' if you wan't extra debug logs.
});

client.on("ready", (client) => { // Event fired when bot has started
    console.log("Bot is online")
    // . . .
})

client.on("message", (message) => { // Event fired when a community has got a new message
    // . . .
})

client.start() // Start the bot