aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Amin Boukari <[email protected]>2020-11-05 10:00:08 -0500
committerGravatar Amin Boukari <[email protected]>2020-11-05 10:00:08 -0500
commitccea2e68824fb51b75238f2ef95104d5dfaa4f35 (patch)
tree84f4945f3637866dda28f8576717621f8de10b02
parentChanged ```python to ```py (diff)
Modified instructions for code block without lang
-rw-r--r--bot/exts/info/codeblock/_instructions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/codeblock/_instructions.py b/bot/exts/info/codeblock/_instructions.py
index 1c1881154..dadb5e1ef 100644
--- a/bot/exts/info/codeblock/_instructions.py
+++ b/bot/exts/info/codeblock/_instructions.py
@@ -133,7 +133,7 @@ def _get_no_lang_message(content: str) -> Optional[str]:
log.trace("Creating instructions for a missing language.")
if _parsing.is_python_code(content):
- example_blocks = _get_example("python")
+ example_blocks = _get_example("py")
# Note that _get_bad_ticks_message expects the first line to have two newlines.
return (