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

HTTP Code 500 #713

Closed
3 tasks done
Tetunus opened this issue Jun 18, 2023 · 4 comments
Closed
3 tasks done

HTTP Code 500 #713

Tetunus opened this issue Jun 18, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Tetunus
Copy link

Tetunus commented Jun 18, 2023

Which package has the bugs?

The core library

Issue description

Anything involving messages will result in "HTTPError [TypeError]: actualFetch is not a function" and returns a status code of 500.

webpack://experience/./node_modules/discord.js-selfbot-v13/src/rest/RequestHandler.js?:212
        throw new HTTPError(error.message, error.constructor.name, error.status, request);
              ^

HTTPError [TypeError]: actualFetch is not a function
    at RequestHandler.execute (webpack://experience/./node_modules/discord.js-selfbot-v13/src/rest/RequestHandler.js?:212:15)
    at async RequestHandler.push (webpack://experience/./node_modules/discord.js-selfbot-v13/src/rest/RequestHandler.js?:62:14)
    at async TextChannel.send (webpack://experience/./node_modules/discord.js-selfbot-v13/src/structures/interfaces/TextBasedChannel.js?:201:15) {
  code: 500,
  method: 'post',
  path: '/channels/1082072975244804166/messages',
  requestData: {
    json: {
      activity: undefined,
      content: 'Pong.',
      tts: false,
      nonce: undefined,
      embeds: undefined,
      components: undefined,
      username: undefined,
      avatar_url: undefined,
      flags: undefined,
      message_reference: undefined,
      attachments: undefined,
      sticker_ids: undefined,
      thread_name: undefined
    },
    files: [],
    headers: undefined
  }
}

Code sample

No response

Package version

discord.js-selfbot-v13@2.14.5

Node.js version

v18.14.2

Operating system

Windows 10

Priority this issue should have

High (immediate attention needed)

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

@Tetunus Tetunus added the bug Something isn't working label Jun 18, 2023
@aiko-chan-ai
Copy link
Owner

webpack ?

@Tetunus
Copy link
Author

Tetunus commented Jun 18, 2023

webpack ?

That is the output it gives me, if it at all helps I am using TypeScript so that might be a huge impact on why it is not working. It shouldn't be the entire reason why it stops working though. I can handle message events and it gets all of the data but when trying to do anything like message.channel.send or message.delete it just dies with that actualFetch error.

@aiko-chan-ai
Copy link
Owner

I can't reproduce

@Tetunus
Copy link
Author

Tetunus commented Jun 19, 2023

I can't reproduce

If you add me on discord, I can send you examples so you can reproduce the issue if that helps. Discord is the same as my name here "tetunus".

@aiko-chan-ai aiko-chan-ai closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 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
Projects
None yet
Development

No branches or pull requests

2 participants