aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/cheatsheet.py
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-02-05 09:30:10 +0530
committerGravatar Shivansh-007 <[email protected]>2021-02-05 09:30:10 +0530
commit95950b93f5e01819921f9bc32a1613bdf1ddd13b (patch)
treefbdd00362489f092cac87b34677c5d5af173337e /bot/exts/evergreen/cheatsheet.py
parentMove repeated code to a single variable (diff)
Use brackets instead of / for multi line strings
Diffstat (limited to 'bot/exts/evergreen/cheatsheet.py')
-rw-r--r--bot/exts/evergreen/cheatsheet.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/bot/exts/evergreen/cheatsheet.py b/bot/exts/evergreen/cheatsheet.py
index acd77e59..dd44c68e 100644
--- a/bot/exts/evergreen/cheatsheet.py
+++ b/bot/exts/evergreen/cheatsheet.py
@@ -58,14 +58,14 @@ class CheatSheet(commands.Cog):
body_space = min(1986 - len(url), 1000)
if len(body_text) > body_space:
- description = f"**Result Of cht.sh**\n" \
- f"```python\n{body_text[:body_space]}\n" \
- f"... (truncated - too many lines)```\n" \
- f"Full results: {url} "
+ description = (f"**Result Of cht.sh**\n"
+ f"```python\n{body_text[:body_space]}\n"
+ f"... (truncated - too many lines)```\n"
+ f"Full results: {url} ")
else:
- description = f"**Result Of cht.sh**\n" \
- f"```python\n{body_text}```\n" \
- f"{url}"
+ description = (f"**Result Of cht.sh**\n"
+ f"```python\n{body_text}```\n"
+ f"{url}")
return False, description
@commands.command(