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

Ability to set message flags for any message to send (not only for interaction messages) #1296

Open
marcbal opened this issue Jan 27, 2024 · 0 comments
Labels
✨ feature request New feature or request

Comments

@marcbal
Copy link

marcbal commented Jan 27, 2024

What feature are you proposing?

It would be nice to be able to set the SUPPRESS_NOTIFICATIONS flag to a message sent in a channel. The Javacord API only allows it in the InteractionMessageBuilder (using setFlags method), not in the MessageBuilder.

Do you have any additional material for your feature proposal?

Flags can be set for any message sent to the API (only SUPPRESS_EMBEDS and SUPPRESS_NOTIFICATIONS can be set)
https://discord.com/developers/docs/resources/channel#create-message-jsonform-params
Regular message can also be silenced (not only the interaction messages): https://stackoverflow.com/a/76527191

@marcbal marcbal added the ✨ feature request New feature or request label Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant