Alchemy.Message.find_mentions
You're seeing just the function
find_mentions
, go back to Alchemy.Message module for more information.
Link to this function
find_mentions(content, type)
Specs
find_mentions(String.t(), mention_type()) :: [snowflake()]
Finds a list of mentions in a string.
4 types of mentions exist:
roles
A mention of a specific role.nicknames
A mention of a user by nickname.users
A mention of a user by name, or nickname.:channels
A mention of a channel.