beamjs-node

1.0.3 • Public • Published
beamjs

BeamJS

Docs Status
npm installnfo

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

Package Sidebar

Install

npm i beamjs-node

Weekly Downloads

0

Version

1.0.3

License

Apache-2.0

Unpacked Size

17.1 kB

Total Files

6

Last publish

Collaborators

  • beamjs