diff options
| author | Rapptz <[email protected]> | 2017-05-22 07:21:23 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-22 07:21:23 -0400 |
| commit | f5888765871b9f6ba1b7affca9271b1a3d0c8a8e (patch) | |
| tree | 91d014b91dc7e9c8b3e3233a20f4a621975d3095 /discord/guild.py | |
| parent | Raise when an invalid permission is passed to PermissionOverwrite. (diff) | |
| download | discord.py-f5888765871b9f6ba1b7affca9271b1a3d0c8a8e.tar.xz discord.py-f5888765871b9f6ba1b7affca9271b1a3d0c8a8e.zip | |
Use Python3Lexer instead of PythonLexer for pygments.
Diffstat (limited to 'discord/guild.py')
| -rw-r--r-- | discord/guild.py | 4 |
1 files changed, 2 insertions, 2 deletions
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), |