Various |
(or) returns do not display correctly on the documentation
#146
Labels
|
(or) returns do not display correctly on the documentation
#146
Which package is this bug report for?
discord.js
Issue description
At:
CommandInteractionOptionResolver#getChannel()
GuildChannelManager#resolve()
CommandInteractionOptionResolver#getMentionable()
The
Returns
element does not resolve to a properFoo|Bar
format, instead resorting toFooBar
(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:
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
The text was updated successfully, but these errors were encountered: