0.0.9 • Published 1 year ago
bluelight.js v0.0.9
BlueLight.JS
A simple way to make your discord bot with bluelight.js Docs: https://docs.faystarnext.studio/bluelight/home
Features
- Low Memory Usage
- Custom Cache System
- Fast Connect to Gateway
Table of Contents
Description
It's a raw connect gateway discord.
How to use
- Discord Developer Portal: https://discord.com/developers/applications
- Install the package
npm install bluelight.js | yarn add bluelight.js
- Create a new file and paste the following code
import { Client } from "bluelight.js"
const client = new Client({
intents: 1, // Intents: discord.com/developers/docs/topics/gateway#gateway-intents | https://discord-intents-calculator.vercel.app/
token: "YOUR_BOT_TOKEN" // Your bot token
})
client.login(); // Connect to gateway