Browse Source

Fix utils.get example.

pull/749/head
Rapptz 8 years ago
parent
commit
ede1771960
  1. 2
      discord/utils.py

2
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:

Loading…
Cancel
Save