Make supported operations stand out more than attributes.

This commit is contained in:
Rapptz
2017-05-20 02:08:34 -04:00
parent 3727618b65
commit f4e01b3a92
11 changed files with 169 additions and 127 deletions

View File

@ -50,21 +50,23 @@ class Guild(Hashable):
This is referred to as a "server" in the official Discord UI.
.. describe:: x == y
.. container:: operations
Checks if two guilds are equal.
.. describe:: x == y
.. describe:: x != y
Checks if two guilds are equal.
Checks if two guilds are not equal.
.. describe:: x != y
.. describe:: hash(x)
Checks if two guilds are not equal.
Returns the guild's hash.
.. describe:: hash(x)
.. describe:: str(x)
Returns the guild's hash.
Returns the guild's name.
.. describe:: str(x)
Returns the guild's name.
Attributes
----------