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

Various | (or) returns do not display correctly on the documentation #146

Open
TetieWasTaken opened this issue Mar 21, 2023 · 0 comments · May be fixed by #149
Open

Various | (or) returns do not display correctly on the documentation #146

TetieWasTaken opened this issue Mar 21, 2023 · 0 comments · May be fixed by #149
Labels

Comments

@TetieWasTaken
Copy link

Which package is this bug report for?

discord.js

Issue description

At:

The Returns element does not resolve to a proper Foo|Bar format, instead resorting to FooBar (links do work as expected).
I was not able to find any more of these but there is a big chance there are more than just these 3.

https://github.com/discordjs/discord.js/blob/950fc47234ed7702a20c90246823a5215c75e84f/packages/discord.js/src/structures/CommandInteractionOptionResolver.js#L146

https://github.com/discordjs/discord.js/blob/950fc47234ed7702a20c90246823a5215c75e84f/packages/discord.js/src/managers/GuildChannelManager.js#L84

https://github.com/discordjs/discord.js/blob/950fc47234ed7702a20c90246823a5215c75e84f/packages/discord.js/src/structures/CommandInteractionOptionResolver.js#L261

Example:
Schermafbeelding 2023-03-21 om 20 53 15

Code sample

No response

Package version

Does not apply

Node.js version

Does not apply

Operating system

Chrome 111.0.5563.64, also tested on Safari 14.1.2

Priority this issue should have

Low (slightly annoying)

Which partials do you have configured?

Not applicable (subpackage bug)

Which gateway intents are you subscribing to?

Not applicable (subpackage bug)

I have tested this issue on a development release

No response

@SpaceEEC SpaceEEC transferred this issue from discordjs/discord.js Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant