Fluxer

Fluxer

JavaScript SDK · v2

Typed bots for the Fluxer API.

Managers return structures. Events are camelCase. The OpenAPI contract stays the source of truth from install to deploy.

Install with pnpm
Full setup
pnpm add @fluxerjs/core
javascript
import { Client, Events } from '@fluxerjs/core';

const client = new Client();

client.on(Events.Ready, () => {
  console.log('Ready');
});

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

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

Need voice? Install @fluxerjs/voice and follow the Voice guide. APIs there are changing soon.

Explore the docs

Pick a path and keep building.