aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-13 18:48:14 -0400
committerRapptz <[email protected]>2017-05-13 18:48:14 -0400
commitf73eb087c99a0ee73b9a46500225464ab866c625 (patch)
treec08643f1aa5add45d95f934422b1fc8fd35b1b33 /discord/guild.py
parentAdd Colour.blurple and Colour.greyple. (diff)
downloaddiscord.py-f73eb087c99a0ee73b9a46500225464ab866c625.tar.xz
discord.py-f73eb087c99a0ee73b9a46500225464ab866c625.zip
Use describe instead of tables for supported operations.
Diffstat (limited to 'discord/guild.py')
-rw-r--r--discord/guild.py28
1 files changed, 15 insertions, 13 deletions
diff --git a/discord/guild.py b/discord/guild.py
index 4987ea36..b0b9b02d 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -50,19 +50,21 @@ class Guild(Hashable):
This is referred to as a "server" in the official Discord UI.
- Supported Operations:
-
- +-----------+-------------------------------------+
- | Operation | Description |
- +===========+=====================================+
- | x == y | Checks if two guilds are equal. |
- +-----------+-------------------------------------+
- | x != y | Checks if two guilds are not equal. |
- +-----------+-------------------------------------+
- | hash(x) | Returns the guild's hash. |
- +-----------+-------------------------------------+
- | str(x) | Returns the guild's name. |
- +-----------+-------------------------------------+
+ .. describe:: x == y
+
+ Checks if two guilds are equal.
+
+ .. describe:: x != y
+
+ Checks if two guilds are not equal.
+
+ .. describe:: hash(x)
+
+ Returns the guild's hash.
+
+ .. describe:: str(x)
+
+ Returns the guild's name.
Attributes
----------