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

Allow allowedMentions in EditMessageOptions to accept FormattedAllowedMentions #627

Open
fbrettnich opened this issue Dec 16, 2024 · 1 comment
Labels
type: enhancement New feature or request

Comments

@fbrettnich
Copy link
Contributor

I am storing allowed_mentions in the Discord format and would like to pass allowedMentions in the EditMessageOptions as FormattedAllowedMentions. Currently, it is only possible to pass MessageAllowedMentions, which is then converted to FormattedAllowedMentions. I think it would be great if allowedMentions could accept both so that I don’t need to convert back and forth.

@Snazzah Snazzah added the type: enhancement New feature or request label Dec 17, 2024
@Snazzah
Copy link
Owner

Snazzah commented Dec 17, 2024

I'll probably make a check to see if parse exists in the object to determine whether to convert or not, but I'd be okay with this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants