Build Fluxer Bots
with Fluxer4J

A modern Java 17+ SDK with 150+ REST endpoints, real-time gateway events, a powerful command framework, voice support, and async-first design.

150+ REST Endpoints

Full coverage of messages, channels, guilds, users, roles, invites, webhooks, and more — all async with CompletableFuture.

🔌

Real-Time Gateway

WebSocket gateway with 60+ typed event listeners, automatic heartbeat, reconnection, and session resumption.

🛠

Command Framework

Annotation-based commands with automatic parsing, aliases, preconditions, permissions, and module organization.

🎨

Rich Embeds

Fluent EmbedBuilder with titles, descriptions, fields, images, footers, timestamps, and validation.

🎧

Voice Support

Join voice channels, stream audio via UDP or LiveKit WebRTC, and handle playback events.

🛡

Rate Limiting

Built-in sliding-window rate limiter keeps your bot within API limits automatically.

Up and Running in Minutes

import fluxer4j.Fluxer4JBot;
import fluxer4j.FluxerConfig;

Fluxer4JBot bot = Fluxer4JBot.builder("Bot YOUR_TOKEN")
    .config(FluxerConfig.builder()
        .reconnectAttemptDelay(2)
        .enableRateLimiting(true)
        .build())
    .commandPrefix('!')
    .addCommandModule(BasicCommands.class)
    .build();

bot.onMessageCreate(msg ->
    System.out.println(msg.getAuthor().getUsername() + ": " + msg.getContent())
);

bot.start().join();

Requirements

RequirementVersion
Java (JDK)17 or later
Build ToolMaven 3.6+ or Gradle 7+

Dependencies

LibraryVersionPurpose
Jackson2.15.3JSON serialization
Java-WebSocket1.5.4Gateway WebSocket client
SLF4J2.0.9Logging abstraction
Logback1.4.11Default logging (optional)
WebRTC Java0.14.0LiveKit voice support