aboutsummaryrefslogtreecommitdiff
path: root/discord/game.py
diff options
context:
space:
mode:
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
-----------