Skip to content

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

Description

@robere2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Complexity: LOWThis issue is trivial and is expected to take less than an hour to complete.Module: DiscordThis issue pertains to the apps/discord modulePriority: MEDThis issue isn't critical or security-related but is holding back other issues or efficiency.Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions