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

[Feature Request] Support allowed mentions #27

Closed
arxenix opened this issue Jul 28, 2020 · 1 comment
Closed

[Feature Request] Support allowed mentions #27

arxenix opened this issue Jul 28, 2020 · 1 comment

Comments

@arxenix
Copy link

arxenix commented Jul 28, 2020

Discord webhooks support an allowed_mentions field, which sets the allowed mention types for the message. This is needed in some cases to prevent webhooks from tagging people/roles/@everyone when they contain user-controlled data.

https://discord.com/developers/docs/resources/webhook#execute-webhook

https://discord.com/developers/docs/resources/channel#allowed-mentions-object

@lovvskillz
Copy link
Owner

I added this feature into the 0.9.0 release.
You can find an example in the readme file.

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

No branches or pull requests

2 participants