Skip to content

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

@TetieWasTaken

Description

@TetieWasTaken

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions