diff options
| author | 2020-11-05 01:38:48 -0500 | |
|---|---|---|
| committer | 2020-11-05 01:38:48 -0500 | |
| commit | 8e7086dd432c5bd416472101c3ce93447681d4d2 (patch) | |
| tree | d01dd756980317ff075e7b0911c5afd12473675f | |
| parent | Merge pull request #1265 from python-discord/voicegate/activity-blocks (diff) | |
Changed ```python to ```py
| -rw-r--r-- | bot/exts/info/codeblock/_instructions.py | 2 |
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 " |