diff options
author | 2021-09-01 12:49:50 +0100 | |
---|---|---|
committer | 2021-09-01 12:49:50 +0100 | |
commit | a4351738cc074f42b60521c122e8712888c50498 (patch) | |
tree | ded4cb387c825583693816d122ac1848e8d3fdae /bot/exts/evergreen/githubinfo.py | |
parent | Merge 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.py | 2 |
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") |