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

Broadcast eval erroring #8347

Closed
ZeldaFan0225 opened this issue Jul 24, 2022 · 4 comments · Fixed by #8348
Closed

Broadcast eval erroring #8347

ZeldaFan0225 opened this issue Jul 24, 2022 · 4 comments · Fixed by #8348

Comments

@ZeldaFan0225
Copy link

Which package is this bug report for?

discord.js

Issue description

When trying to boradcast eval anything I'm getting this error, if i give () => true for example (a simple function that shouldn't error).
I can't find what is causing it and it is broken since I updated to djs v14

Code sample

await client.shard?.broadcastEval((c) => true)

Package version

14.0.3

Node.js version

NodeJS: 16.14.0; Typescript: 4.3.5

Operating system

Windows/Linux

Priority this issue should have

Medium (should be fixed soon)

Which partials do you have configured?

No Partials

Which gateway intents are you subscribing to?

Guilds, GuildMessages

I have tested this issue on a development release

No response

@didinele
Copy link
Member

This has been gone over here: https://canary.discord.com/channels/222078108977594368/1000492352999272511/1000492352999272511

We don't have a relevant error/stack trace here since the thrown error is outdated:

const error = new Error(`Error when sending ${type} response to master process: ${err.message}`);

Will be making a PR to fix that aspect shortly, after which we might be able to get something better to debug this problem (if it's even on our end, which I doubt).

@nyapat

This comment was marked as outdated.

@kyranet kyranet added the has PR label Jul 25, 2022
@kyranet kyranet linked a pull request Jul 25, 2022 that will close this issue
@kyranet kyranet closed this as completed Jul 25, 2022
@kyranet kyranet removed the has PR label Jul 25, 2022
@kyranet kyranet reopened this Jul 25, 2022
@kyranet
Copy link
Member

kyranet commented Aug 10, 2022

Can you update to v14.1.2 and tell me if it works? I seem to be unable to reproduce this error anymore.

Code_vIkWmc2lMB

@ZeldaFan0225
Copy link
Author

It is fixed now, thanks

@kyranet kyranet closed this as completed Aug 10, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants