mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 01:53:01 +00:00
Add warning for Message.mentions order being non-deterministic.
This commit is contained in:
@@ -72,6 +72,12 @@ class Message(object):
|
|||||||
|
|
||||||
A list of :class:`Member` that were mentioned. If the message is in a private message
|
A list of :class:`Member` that were mentioned. If the message is in a private message
|
||||||
then the list is always empty.
|
then the list is always empty.
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
The order of the mentions list is not in any particular order so you should
|
||||||
|
not rely on it. This is a discord limitation, not one with the library.
|
||||||
|
|
||||||
.. attribute:: channel_mentions
|
.. attribute:: channel_mentions
|
||||||
|
|
||||||
A list of :class:`Channel` that were mentioned. If the message is in a private message
|
A list of :class:`Channel` that were mentioned. If the message is in a private message
|
||||||
|
Reference in New Issue
Block a user