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

APIEmbed.type and EmbedType deprecated #1186

Open
HotDog640 opened this issue Dec 27, 2024 · 1 comment · May be fixed by #1187
Open

APIEmbed.type and EmbedType deprecated #1186

HotDog640 opened this issue Dec 27, 2024 · 1 comment · May be fixed by #1187
Labels

Comments

@HotDog640
Copy link

Issue description

APIEmbed.type and EmbedType are both listed as deprecated in the library. However, the Discord API page linked in the deprecation notice and the Discord API page for Message show no deprecation of the embed.type property.

Code sample

message.embeds.filter(embed => embed.data.type === EmbedType.Image)
// will give two deprecation warnings. One for `type` and the other for `EmbedType`

Package version

0.37.50

Runtime

Node.js

Runtime version

v22.12.0

Priority this issue should have

Low (slightly annoying)

@HotDog640 HotDog640 added the bug label Dec 27, 2024
@Jiralite
Copy link
Member

It seems discord/discord-api-docs#7050 removed the deprecation message. Feel free to remove the deprecation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants