diff --git a/redbot/core/dev_commands.py b/redbot/core/dev_commands.py index 47a478c30..25ad62dff 100644 --- a/redbot/core/dev_commands.py +++ b/redbot/core/dev_commands.py @@ -28,7 +28,7 @@ https://github.com/Rapptz/RoboDanny/blob/master/cogs/repl.py _ = Translator("Dev", __file__) -START_CODE_BLOCK_RE = re.compile(r"^((```py)(?=\s)|(```))") +START_CODE_BLOCK_RE = re.compile(r"^((```py(thon)?)(?=\s)|(```))") @cog_i18n(_)