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

Problem with bun using sendSlash

Open Pedromdsn opened this issue 11 months ago • 15 comments

Which package has the bugs?

The core library

Issue description

image

The problem only affects the version using Bun runtime, using node it works.

Bun - 1.0.29

Code sample

No response

Package version

lastest

Node.js version

20.9.0

Operating system

Ubuntu WSL

Priority this issue should have

Low (slightly annoying)

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

Pedromdsn avatar Feb 29 '24 17:02 Pedromdsn

Im actually getting the same with node : (

Jheesbrough avatar Mar 01 '24 19:03 Jheesbrough

pls record your screen when you are using the bot in the official client

aiko-chan-ai avatar Mar 03 '24 08:03 aiko-chan-ai

pls record your screen when you are using the bot in the official client

I'll make a new issue, as I think what I'm seeing is different enough from this to be separated

Jheesbrough avatar Mar 03 '24 08:03 Jheesbrough

I'll make a new issue, as I think what I'm seeing is different enough from this to be separated

uhm

aiko-chan-ai avatar Mar 03 '24 08:03 aiko-chan-ai

@aiko-chan-ai Just run any slash command in bun.js instead of node.js.

Pedromdsn avatar Mar 17 '24 13:03 Pedromdsn

djssb doesn't fully support bun, but I'll keep an eye on it (maybe after I finish studying for the exam).

aiko-chan-ai avatar Mar 17 '24 13:03 aiko-chan-ai

djssb doesn't fully support bun, but I'll keep an eye on it (maybe after I finish studying for the exam).

I haven't found any problems other than that, if there's anything I can help with, just let me know.

Pedromdsn avatar Mar 17 '24 20:03 Pedromdsn

@aiko-chan-ai hi, any updates on this?

lonelil avatar Apr 26 '24 11:04 lonelil

https://github.com/aiko-chan-ai/discord.js-selfbot-v13/discussions/1072#discussion-6285018 😭

aiko-chan-ai avatar Apr 26 '24 12:04 aiko-chan-ai

#1072 (comment) 😭

This is the bun, not the replit.

Pedromdsn avatar Apr 26 '24 20:04 Pedromdsn

This is the bun, not the replit.

Screenshot_20240427_112108_Chrome

aiko-chan-ai avatar Apr 27 '24 04:04 aiko-chan-ai

😠

aiko-chan-ai avatar Apr 27 '24 04:04 aiko-chan-ai

😣😣

Pedromdsn avatar Apr 27 '24 12:04 Pedromdsn

The issue is with the form-data package with bun, removing it and just using the build in form data fixes it.

lonelil avatar Apr 28 '24 11:04 lonelil

Oh ty :3

aiko-chan-ai avatar Apr 28 '24 12:04 aiko-chan-ai