diff options
| author | Rapptz <[email protected]> | 2017-08-30 01:37:25 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-08-30 01:37:25 -0400 |
| commit | ede1771960893c12814513413cc6afac4cfb8cb4 (patch) | |
| tree | e83b691ab5fd45d8169b49d5cb61728ab4629c3f | |
| parent | Sort roles by hierarchy instead of by ID. (diff) | |
| download | discord.py-ede1771960893c12814513413cc6afac4cfb8cb4.tar.xz discord.py-ede1771960893c12814513413cc6afac4cfb8cb4.zip | |
Fix utils.get example.
| -rw-r--r-- | discord/utils.py | 2 |
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: |