discordjs / discord.js

A powerful JavaScript library for interacting with the Discord API
https://discord.js.org
Apache License 2.0
25.45k stars 3.97k forks source link

Documentation for ClientOptions#sweepers is incorrect #9579

Closed ImRodry closed 1 year ago

ImRodry commented 1 year ago

Which package is this bug report for?

discord.js

Issue description

The documentation for ClientOptions#sweepers mentions that the default value for this option is an empty object, which is not true. The default can be found below https://github.com/discordjs/discord.js/blob/5d6eed64140029837043cf537033b97c40f39607/packages/discord.js/src/util/Options.js#L183-L199

Code sample

No response

Versions

Djs v14.10.0

Issue priority

Low (slightly annoying)

Which partials do you have configured?

Not applicable

Which gateway intents are you subscribing to?

Not applicable

I have tested this issue on a development release

No response

ryoh827 commented 1 year ago

I'd like to try this issue.

ImRodry commented 1 year ago

@Jiralite good first issue? Lol