Skip to content

Add mentions, channel_mentions and role_mentions to Embed #7076

Answered by redgoldlace
alexisig asked this question in Ideas
Discussion options

You must be logged in to vote

I'm fairly sure this has been discussed in discord.py's discord server previously. It's subject to a couple issues:

  • Message.mentions (and I believe Message.role_mentions too) are provided by the API. The library doesn't handle these itself.
  • To my knowledge, the various mentions attributes of Message all represent mentions that have actually happened - i.e, if you send a message with a mention and set allowed_mentions as AllowedMentions.none(), I'm fairly sure the corresponding Message object will have nothing in its mentions attribute. Introducing something like this for embeds when no actual mentions have happened would go against the existing behaviour of the API and serves as an easy …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alexisig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants