JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 324
  • Score
    100M100P100Q90411F
  • License Apache-2.0

A fully-featured SDK for Fluxer bots

Package Exports

  • @fluxerjs/core

Readme

@fluxerjs/core

Main client for the Fluxer bot SDK.

Install

npm install @fluxerjs/core

Usage

import { Client, Events } from '@fluxerjs/core';

const client = new Client({ intents: 0 });

client.on(Events.Ready, () => console.log('Ready'));
client.on(Events.MessageCreate, async (m) => {
  if (m.content === '!ping') await m.reply('Pong');
});

await client.login(process.env.FLUXER_BOT_TOKEN);

For voice, add @fluxerjs/voice. For embeds, use EmbedBuilder.