Skip to content

Ambiguous event names: LinkTags and Anchors #10287

Open
@brynpttrsn

Description

Which application is this bug report for?

Documentation

Issue description

A few event names are the same as methods in the Collector class creating issues with duplicate anchor tags. Duplicated anchor tags always scroll to the first Anchor that appears with the corresponding id.

LinkTags also can’t resolve properly.

Link tag issue here:
https://discordjs.dev/docs/packages/discord.js/14.15.2/ReactionCollector:Class#create

Anchor links for collect and dispose events collide with methods of the respective names here:
https://discordjs.dev/docs/packages/discord.js/14.15.2/Collector:Class

Steps to Reproduce

Visit docs linked above.
Click events collect and dispose.
Observe it scrolls to method and not event.

Versions

Docs

Issue priority

Low (slightly annoying)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions