@biscuitland/ core

Core contains the essentials to launch you to develop your own customized and scalable bot.


21,176 downloads

Version 3.0.10

Readme


@biscuitland/core

Core contains the essentials to launch you to develop your own customized and scalable bot.

Getting Started

Install (for node18)

npm install @biscuitland/core
yarn add @biscuitland/core

Example bot

project/index.js:

import { Session } from '@biscuitland/core';
import { GatewayIntentBits } from '@biscuitland/common';

const session = new Session({ token: 'your token', intents: GatewayIntentBits.Guilds });

session.on('READY', (payload, shardId) => {
    console.log('Logged in as: %s in shard #%s', payload.user.username, shardId);
});

session.start();

Execute

For node 18.+:

B:\project> node index.js

For node 16.+:

B:\project> node --experimental-fetch index.js

Links

Status


quality

62%

popularity

3%

maintenance

33%