aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/githubinfo.py
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2021-09-01 12:49:50 +0100
committerGravatar wookie184 <[email protected]>2021-09-01 12:49:50 +0100
commita4351738cc074f42b60521c122e8712888c50498 (patch)
treeded4cb387c825583693816d122ac1848e8d3fdae /bot/exts/evergreen/githubinfo.py
parentMerge pull request #835 from python-discord/discord-2.0 (diff)
Start and end codeblocks with newlines to avoid android rendering them inline
Diffstat (limited to 'bot/exts/evergreen/githubinfo.py')
-rw-r--r--bot/exts/evergreen/githubinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/githubinfo.py b/bot/exts/evergreen/githubinfo.py
index d29f3aa9..bbc9061a 100644
--- a/bot/exts/evergreen/githubinfo.py
+++ b/bot/exts/evergreen/githubinfo.py
@@ -66,7 +66,7 @@ class GithubInfo(commands.Cog):
embed = discord.Embed(
title=f"`{user_data['login']}`'s GitHub profile info",
- description=f"```{user_data['bio']}```\n" if user_data["bio"] else "",
+ description=f"```\n{user_data['bio']}\n```\n" if user_data["bio"] else "",
colour=discord.Colour.blurple(),
url=user_data["html_url"],
timestamp=datetime.strptime(user_data["created_at"], "%Y-%m-%dT%H:%M:%SZ")