aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-08-30 01:37:25 -0400
committerRapptz <[email protected]>2017-08-30 01:37:25 -0400
commitede1771960893c12814513413cc6afac4cfb8cb4 (patch)
treee83b691ab5fd45d8169b49d5cb61728ab4629c3f
parentSort roles by hierarchy instead of by ID. (diff)
downloaddiscord.py-ede1771960893c12814513413cc6afac4cfb8cb4.tar.xz
discord.py-ede1771960893c12814513413cc6afac4cfb8cb4.zip
Fix utils.get example.
-rw-r--r--discord/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/utils.py b/discord/utils.py
index e5d366ff..d7d23e87 100644
--- a/discord/utils.py
+++ b/discord/utils.py
@@ -197,7 +197,7 @@ def get(iterable, **attrs):
.. code-block:: python3
- channel = discord.utils.get(guild.channels, name='Foo', type=ChannelType.voice)
+ channel = discord.utils.get(guild.voice_channels, name='Foo', bitrate=64000)
Nested attribute matching: