aboutsummaryrefslogtreecommitdiff
path: root/discord/game.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-20 02:08:34 -0400
committerRapptz <[email protected]>2017-05-20 02:08:34 -0400
commitf4e01b3a9289b294ad559263fed0826c111700b2 (patch)
treeb64b3ce601c9f7d1e9be8381e86146686647afce /discord/game.py
parentKill remaining references to discord.Channel in documentation. (diff)
downloaddiscord.py-f4e01b3a9289b294ad559263fed0826c111700b2.tar.xz
discord.py-f4e01b3a9289b294ad559263fed0826c111700b2.zip
Make supported operations stand out more than attributes.
Diffstat (limited to 'discord/game.py')
-rw-r--r--discord/game.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/discord/game.py b/discord/game.py
index 6e8ed5cf..121bf4c2 100644
--- a/discord/game.py
+++ b/discord/game.py
@@ -27,21 +27,23 @@ DEALINGS IN THE SOFTWARE.
class Game:
"""Represents a Discord game.
- .. describe:: x == y
+ .. container:: operations
- Checks if two games are equal.
+ .. describe:: x == y
- .. describe:: x != y
+ Checks if two games are equal.
- Checks if two games are not equal.
+ .. describe:: x != y
- .. describe:: hash(x)
+ Checks if two games are not equal.
- Returns the game's hash.
+ .. describe:: hash(x)
- .. describe:: str(x)
+ Returns the game's hash.
- Returns the game's name.
+ .. describe:: str(x)
+
+ Returns the game's name.
Attributes
-----------