aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-05-07 22:19:12 -0700
committerGravatar MarkKoz <[email protected]>2020-06-13 11:21:09 -0700
commit4cd82783b4aec4e76ecbf1abf6549da68379dc66 (patch)
tree217dd2ae248c5d6de90f3dfcef8214360e861274
parentMove some functions into a new channel utility module (diff)
Code block: fix missing newline before generic example
-rw-r--r--bot/cogs/codeblock/instructions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/codeblock/instructions.py b/bot/cogs/codeblock/instructions.py
index 80f82ef34..5c573c2ff 100644
--- a/bot/cogs/codeblock/instructions.py
+++ b/bot/cogs/codeblock/instructions.py
@@ -27,7 +27,7 @@ def _get_example(language: str) -> str:
content = f"{language}\n..."
else:
log.trace("Code block has no language specifier.")
- content = "Hello, world!"
+ content = "\nHello, world!"
return _EXAMPLE_CODE_BLOCKS.format(content=content)