0.0.13 • Published 1 year ago
snowlight.js v0.0.13
SnowLight.JS
A simple way to make your discord bot with bluelight.js
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 snowlight.js | yarn add snowlight.js
- Create a new file and paste the following code
import { Client } from "snowlight.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