mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Added __eq__ to Message
This commit is contained in:
1 parent
dce653a0eb
commit
39aa08ab93
2 files changed
+12
No files matched your search
@@ -903,6 +903,15 @@ of :class:`enum.Enum`.
|
||||
Specifies the type of :class:`Message`. This is used to denote if a message
|
||||
is to be interpreted as a system message or a regular message.
|
||||
|
||||
.. container:: operations
|
||||
|
||||
.. describe:: x == y
|
||||
|
||||
Checks if two messages are equal.
|
||||
.. describe:: x != y
|
||||
|
||||
Checks if two messages are not equal.
|
||||
|
||||
.. attribute:: default
|
||||
|
||||
The default message type. This is the same as regular messages.
|
||||
|
||||
Reference in new issue
Block a user