aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-22 07:21:23 -0400
committerRapptz <[email protected]>2017-05-22 07:21:23 -0400
commitf5888765871b9f6ba1b7affca9271b1a3d0c8a8e (patch)
tree91d014b91dc7e9c8b3e3233a20f4a621975d3095 /discord/guild.py
parentRaise when an invalid permission is passed to PermissionOverwrite. (diff)
downloaddiscord.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.py4
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),