aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/cheatsheet.py
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2021-09-01 15:44:35 +0100
committerGravatar wookie184 <[email protected]>2021-09-01 15:44:35 +0100
commitca15abb76ccb6662e419503eae21d312d28df3b3 (patch)
tree1e006ea6265a277437642748d10d1df53631db6e /bot/exts/evergreen/cheatsheet.py
parentStart and end codeblocks with newlines to avoid android rendering them inline (diff)
Improved consistency for codeblocks to end with a newline
Diffstat (limited to 'bot/exts/evergreen/cheatsheet.py')
-rw-r--r--bot/exts/evergreen/cheatsheet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/cheatsheet.py b/bot/exts/evergreen/cheatsheet.py
index ae7793c9..c45f9893 100644
--- a/bot/exts/evergreen/cheatsheet.py
+++ b/bot/exts/evergreen/cheatsheet.py
@@ -64,13 +64,13 @@ class CheatSheet(commands.Cog):
description = (
f"**Result Of cht.sh**\n"
f"```python\n{body_text[:body_space]}\n"
- f"... (truncated - too many lines)```\n"
+ f"... (truncated - too many lines)\n```\n"
f"Full results: {url} "
)
else:
description = (
f"**Result Of cht.sh**\n"
- f"```python\n{body_text}```\n"
+ f"```python\n{body_text}\n```\n"
f"{url}"
)
return False, description