diff options
| author | Rapptz <[email protected]> | 2017-05-20 02:08:34 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-20 02:08:34 -0400 |
| commit | f4e01b3a9289b294ad559263fed0826c111700b2 (patch) | |
| tree | b64b3ce601c9f7d1e9be8381e86146686647afce /discord/guild.py | |
| parent | Kill remaining references to discord.Channel in documentation. (diff) | |
| download | discord.py-f4e01b3a9289b294ad559263fed0826c111700b2.tar.xz discord.py-f4e01b3a9289b294ad559263fed0826c111700b2.zip | |
Make supported operations stand out more than attributes.
Diffstat (limited to 'discord/guild.py')
| -rw-r--r-- | discord/guild.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/discord/guild.py b/discord/guild.py index b0b9b02d..1ce331d3 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -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 ---------- |