discord.js-selfbot-v13 icon indicating copy to clipboard operation
discord.js-selfbot-v13 copied to clipboard

Error when creating a server

Open JestemKamil opened this issue 1 year ago • 1 comments

Which package has the bugs?

The core library

Issue description

  1. Run selfbot
  2. client.guilds.create("Name")
  3. Get error: C:\Users\ds\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:415 throw new DiscordAPIError(data, res.status, request); ^

DiscordAPIError: Unknown Message at RequestHandler.execute (C:\Users\ds\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:415:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async RequestHandler.push (C:\Users\ds\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:63:14) at async GuildManager.create (C:\Users\ds\node_modules\discord.js-selfbot-v13\src\managers\GuildManager.js:228:18) { method: 'post', path: '/guilds', code: 10008, httpStatus: 403, requestData: { json: { name: 'Test', icon: null, verification_level: undefined, default_message_notifications: undefined, explicit_content_filter: undefined, roles: [], channels: [], afk_channel_id: undefined, afk_timeout: undefined, system_channel_id: undefined, system_channel_flags: undefined }, files: [], headers: undefined },

Code sample

const { Client } = require("discord.js-selfbot-v13")
    const client = new Client()

    client.on("ready", async () => {
        client.guilds.create("Test")
    })

    client.login(
        "Token"
    )

Package version

3.1.4

Node.js version

v20.12.0

Operating system

Windows 10

Priority this issue should have

Medium (should be fixed soon)

Checklist

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

Additional Information

No response

JestemKamil avatar Jun 17 '24 06:06 JestemKamil

https://github.com/aiko-chan-ai/discord.js-selfbot-v13/issues/1045#issuecomment-1949935754

YeDoly avatar Jun 28 '24 23:06 YeDoly