Skip to content

Bots and Applications

Spacebar is backwards-compatibile with, and so all existing bots and applications designed for should work relatively easily when connected to a Spacebar instance instead.

The Discord Developer Panel is available at /developers, and allows you all the same functionality to create bots and applications on a Spacebar instance as

Bot Libraries


The Client class constructor accepts a http object, which you can use to change the endpoints used.

const { Client } = require("discord.js");

const client = new Client({
    http: {
        version: 9,
        api: "",
        cdn: "",
        invite: "",

client.login("your token here");

import discord

discord.http.Route.BASE = ""
client = discord.Client()'your token here')


import java.lang.reflect.*;
import net.dv8tion.jda.internal.requests.*;

public static void main(String[] args) {
    JDA jda = JDABuilder.createDefault("your token here").build();

    Field field = Requester.class.getDeclaredField("DISCORD_API_PREFIX")

    Field modifiers = Field.class.getDeclaredField("modifiers");
    modifiers.setString(field, field.getModifiers() & ~Modifier.FINAL);

    field.set(null, "");