aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/bot.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/ext/commands/bot.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/ext/commands/bot.py')
-rw-r--r--discord/ext/commands/bot.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index 9a7c5023..01ea05dc 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -49,7 +49,7 @@ def when_mentioned_or(*prefixes):
Example
--------
- .. code-block:: python
+ .. code-block:: python3
bot = commands.Bot(command_prefix=commands.when_mentioned_or('!'))
@@ -227,7 +227,7 @@ class BotBase(GroupMixin):
Example
---------
- .. code-block:: python
+ .. code-block:: python3
@bot.check
def whitelist(ctx):
@@ -373,7 +373,7 @@ class BotBase(GroupMixin):
Example
--------
- .. code-block:: python
+ .. code-block:: python3
async def on_ready(): pass
async def my_message(message): pass
@@ -422,7 +422,7 @@ class BotBase(GroupMixin):
Example
--------
- .. code-block:: python
+ .. code-block:: python3
@bot.listen()
async def on_message(message):