In Discord you can address a public message to a specific user by prefixing it with "@username", this causes the user's client to notify them (if they have notifications enabled) and the message shows up highlighted. Can I send a message using send_message() and have it alert the user in this way? I can send a message prefixed with @everyone (e.g. "@everyone testing 1 2 3") then it does this, however if I try sending a message with a valid username ("@SomeValidUsername testing 1 2 3") it just sends the message without any notification, highlighting, etc. Am I doing something wrong or is this not yet a supported feature?
If you read the docs (which you should), you would know that Member.mention would do what you ask for. It's even in the examples.
How about an example that doesn't message back the author.
Please don't necrobump issues.
User.mention can be used with any User object.
For further help, you should join either the official discord.py server or the Discord API server, as the README also links.
Most helpful comment
If you read the docs (which you should), you would know that
Member.mentionwould do what you ask for. It's even in the examples.