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

Remove deprecated use of "ephemeral" property in Discord Bot #110

Open
robere2 opened this issue Jan 8, 2025 · 0 comments
Open

Remove deprecated use of "ephemeral" property in Discord Bot #110

robere2 opened this issue Jan 8, 2025 · 0 comments
Labels
Complexity: LOW This issue is trivial and is expected to take less than an hour to complete. Module: Discord This issue pertains to the apps/discord module Priority: MED This issue isn't critical or security-related but is holding back other issues or efficiency. Type: Bug Something isn't working

Comments

@robere2
Copy link
Member

robere2 commented Jan 8, 2025

Providing an ephemeral value to Discord bot interaction messages is deprecated in favor of flags. This is resulting in log spam with the following message:

Warning: Supplying "ephemeral" for interaction response options is deprecated. Utilize flags instead.

Instead, I believe we are supposed to supply the flags property with MessageFlags.Ephemeral.

https://discord.js.org/docs/packages/discord.js/14.17.3/InteractionReplyOptions:Interface#flags

@robere2 robere2 added Priority: MED This issue isn't critical or security-related but is holding back other issues or efficiency. Type: Bug Something isn't working Module: Discord This issue pertains to the apps/discord module Complexity: LOW This issue is trivial and is expected to take less than an hour to complete. labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: LOW This issue is trivial and is expected to take less than an hour to complete. Module: Discord This issue pertains to the apps/discord module Priority: MED This issue isn't critical or security-related but is holding back other issues or efficiency. Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant