Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating a server #1194

Closed
3 tasks done
JestemKamil opened this issue Jun 17, 2024 · 1 comment
Closed
3 tasks done

Error when creating a server #1194

JestemKamil opened this issue Jun 17, 2024 · 1 comment
Labels
bug Something isn't working Risky Action lock your account .-. maybe wontfix This will not be worked on

Comments

@JestemKamil
Copy link

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

  • 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

No response

@JestemKamil JestemKamil added the bug Something isn't working label Jun 17, 2024
@YeDoly
Copy link

YeDoly commented Jun 28, 2024

#1045 (comment)

@aiko-chan-ai aiko-chan-ai added wontfix This will not be worked on Risky Action lock your account .-. maybe labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Risky Action lock your account .-. maybe wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants