Skip to main content

Solara.js
Build Discord Bots That Shine.

Develop Discord.js v14 Bots with Simplicity and Power

bot.js
const { SolaraClient } = require('@getsolara/solara.js');
const path = require('path');

const bot = new SolaraClient({
    intents: [ "Guilds", "GuildMessages", "MessageContent", "GuildMembers" ],
    partials: ["Channel", "Message"],
    SolaraOptions: {
        prefix: "!",
        token: "YOUR_TOKEN_HERE"
    }
});

const commandsPath = path.join(__dirname, 'commands');
bot.loadCommands(commandsPath);

const functionsPath = path.join(__dirname, 'functions');
bot.loadFunctions(functionsPath);

bot.on('ready', () => {
    console.log(`${bot.user.tag} is online and ready to go!`);
});

bot.login();

Modern Foundation

Leverage the latest Discord.js v14 features with a clean, TypeScript-first approach for robust and scalable bots.

Developer Focused

Solara.js handles the boilerplate, letting you focus on what makes your bot unique. Write less code, achieve more.

Easy to Extend

Integrate custom logic, middleware, or third-party services seamlessly with a flexible and straightforward architecture.