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(CDNRoutes): inconsistency in route and wrong JSDoc #1033

Merged
merged 5 commits into from
Jul 20, 2024

Conversation

Backiscute
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged: It fixes an inconsistency in the guildIcon cdn route. This route does not start with / like the rest of the routes. It also fixes it's JSDoc which is completely wrong.

If applicable, please reference Discord API Docs PRs or commits that influenced this PR: None

Copy link

vercel bot commented Jul 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
discord-api-types ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 19, 2024 3:16pm

@almeidx almeidx changed the title Fix inconsistency in route and fix wrong JSDoc fix(CDNRoutes): inconsistency in route and wrong JSDoc Jul 19, 2024
rest/v10/index.ts Show resolved Hide resolved
Copy link
Contributor

@vaporoxx vaporoxx left a comment

Choose a reason for hiding this comment

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

The new route in the documentation doesn't match the actual route

Also while you're at it, the documentation for guildMemberAvatar is missing /avatars

deno/rest/v10/mod.ts Outdated Show resolved Hide resolved
deno/rest/v9/mod.ts Outdated Show resolved Hide resolved
rest/v10/index.ts Outdated Show resolved Hide resolved
rest/v9/index.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants