From f5888765871b9f6ba1b7affca9271b1a3d0c8a8e Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 22 May 2017 07:21:23 -0400 Subject: Use Python3Lexer instead of PythonLexer for pygments. --- discord/guild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/guild.py') diff --git a/discord/guild.py b/discord/guild.py index 1ce331d3..bea3456a 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -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), -- cgit v1.2.3