aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Amin Boukari <[email protected]>2020-11-05 01:38:48 -0500
committerGravatar Amin Boukari <[email protected]>2020-11-05 01:38:48 -0500
commit8e7086dd432c5bd416472101c3ce93447681d4d2 (patch)
treed01dd756980317ff075e7b0911c5afd12473675f
parentMerge pull request #1265 from python-discord/voicegate/activity-blocks (diff)
Changed ```python to ```py
-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 508f157fb..1c1881154 100644
--- a/bot/exts/info/codeblock/_instructions.py
+++ b/bot/exts/info/codeblock/_instructions.py
@@ -71,7 +71,7 @@ def _get_no_ticks_message(content: str) -> Optional[str]:
log.trace("Creating instructions for a missing code block.")
if _parsing.is_python_code(content):
- example_blocks = _get_example("python")
+ example_blocks = _get_example("py")
return (
"It looks like you're trying to paste code into this channel.\n\n"
"Discord has support for Markdown, which allows you to post code with full "