Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

HTTP API Problem #1729

@Voxelox

Description

@Voxelox

Which package has the bugs?

The core library

Issue description

  1. Change url of the http api
  2. Bot still uses old api endpoint

Code sample

import { Client, Options } from 'discord.js-selfbot-v13';

const client = new Client({
    presence: {
        status: 'idle',
        afk: true,
    },
    sweepers: {
        messages: {
            interval: 3_600,
            lifetime: 1_800,
        },
    },
    makeCache: Options.cacheWithLimits({
        ApplicationCommandManager: 0,
        AutoModerationRuleManager: 0,
        BaseGuildEmojiManager: 0,
        GuildEmojiManager: 0,
        GuildMemberManager: 0,
        GuildBanManager: 0,
        GuildInviteManager: 0,
        GuildScheduledEventManager: 0,
        GuildStickerManager: 0,
        MessageManager: 0,
        PresenceManager: 0,
        ReactionManager: 0,
        ReactionUserManager: 0,
        StageInstanceManager: 0,
        ThreadManager: 0,
        ThreadMemberManager: 0,
        UserManager: 0,
        VoiceStateManager: 0,
    }),
    http: {
        api: 'http://[REDACTED]/api'
    }
});

const userToken = "";

client.login(userToken);

Package version

3.7.0

Node.js version

v22.19.0

Operating system

Debian 12

Priority this issue should have

Medium (should be fixed soon)

Checklist

  • I have searched the open issues for duplicates.
  • I have shared the entire traceback.
  • I am using a user token (and it isn't visible in the code).

Additional Information

I'm using nirn-proxy.

if i remove /api from this:

http: {
    api: 'http://[REDACTED]/api'
}

to this

http: {
    api: 'http://[REDACTED]'
}

i can login, but all function didnt work
if i add /api in the end, i cant login

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions