beamjs-node
v1.0.3
Published
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.
Downloads
6
Maintainers
Readme
BeamJS
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