Use Python3Lexer instead of PythonLexer for pygments.

This commit is contained in:
Rapptz
2017-05-22 07:21:23 -04:00
parent d672f84932
commit f588876587
10 changed files with 37 additions and 37 deletions

View File

@ -476,13 +476,13 @@ class Guild(Hashable):
Creating a basic channel:
.. code-block:: python
.. code-block:: python3
channel = await guild.create_text_channel('cool-channel')
Creating a "secret" channel:
.. code-block:: python
.. code-block:: python3
overwrites = {
guild.default_role: discord.PermissionOverwrite(read_messages=False),