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

fix: broken links in tags #213

Closed
wants to merge 2 commits into from
Closed

Conversation

imnaiyar
Copy link

@imnaiyar imnaiyar commented Jul 30, 2024

In tags:

  • custom-client-properties
  • embed-limts

@almostSouji almostSouji added the 🏷️ tag PR PR ONLY changes tags label Jul 30, 2024
@imnaiyar imnaiyar changed the title fix: broken link in custom-client-properties tag fix: broken links in tags Aug 1, 2024
@@ -1008,7 +1008,7 @@ Fetching members can time out on large guilds, as they arrive in chunks through
keywords = ["custom-properties-on-client"]
content = """
We highly recommend you extend the `Client` structure properly instead of just attaching custom properties like `.commands` to the regular discord.js `Client` instance.
- Using typescript, you might want to consider [casting](https://www.typescripttutorial.net/typescript-tutorial/type-casting/) or [augmenting the module type](https://www.typescriptlang.org/docs/handbook/modules.html#ambient-modules)
- Using typescript, you might want to consider [casting](https://www.typescripttutorial.net/typescript-tutorial/type-casting/) or [augmenting the module type](https://www.typescriptlang.org/docs/handbook/modules/reference.html#ambient-modules)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ambient module declarations are easy to confuse with module augmentations since they use identical syntax.

That seems to be precisely what happened in this tag and this was meant to link to module augmentation in the first place

Wolvinny pushed a commit to Wolvinny/discord-utils-bot that referenced this pull request Aug 27, 2024
* fix typescript docs link (should be type augmentation, not ambient modules)

resolves discordjs#213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ tag PR PR ONLY changes tags
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants