mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Make supported operations stand out more than attributes.
This commit is contained in:
1 parent
3727618b65
commit
f4e01b3a92
11 files changed
+169
-127
No files matched your search
+10
-8
@@ -36,21 +36,23 @@ class Invite(Hashable):
|
||||
Depending on the way this object was created, some of the attributes can
|
||||
have a value of ``None``.
|
||||
|
||||
.. describe:: x == y
|
||||
.. container:: operations
|
||||
|
||||
Checks if two invites are equal.
|
||||
.. describe:: x == y
|
||||
|
||||
.. describe:: x != y
|
||||
Checks if two invites are equal.
|
||||
|
||||
Checks if two invites are not equal.
|
||||
.. describe:: x != y
|
||||
|
||||
.. describe:: hash(x)
|
||||
Checks if two invites are not equal.
|
||||
|
||||
Returns the invite hash.
|
||||
.. describe:: hash(x)
|
||||
|
||||
.. describe:: str(x)
|
||||
Returns the invite hash.
|
||||
|
||||
Returns the invite URL.
|
||||
.. describe:: str(x)
|
||||
|
||||
Returns the invite URL.
|
||||
|
||||
Attributes
|
||||
-----------
|
||||
|
||||
Reference in new issue
Block a user