From ede1771960893c12814513413cc6afac4cfb8cb4 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 30 Aug 2017 01:37:25 -0400 Subject: [PATCH] Fix utils.get example. --- discord/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/utils.py b/discord/utils.py index e5d366ffc..d7d23e87c 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: