mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Use Python3Lexer instead of PythonLexer for pygments.
This commit is contained in:
1 parent
d672f84932
commit
f588876587
10 files changed
+37
-37
No files matched your search
+2
-2
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user