mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Update Dev's code block regex to support python language (#5083)
* Update dev_commands.py * Update dev_commands.py * Update redbot/core/dev_commands.py regexes keep confusing me. thanks jack Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
parent
210c07d5a7
commit
177bd7f84e
@ -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(_)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user