diff options
author | 2021-05-05 13:23:59 -0400 | |
---|---|---|
committer | 2021-05-05 13:23:59 -0400 | |
commit | 7a18b365f3ffe43fe3de6bb342d98b0414e0283c (patch) | |
tree | 7c57f6061fd5b7227cf6234f090eb66f0dfb3970 /bot/exts/evergreen/githubinfo.py | |
parent | chore: Don't have defaults for typing.Optional[...] in commands (diff) |
chore: Don't use "is not None"
Co-authored-by: Anand Krishna <[email protected]>
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 24479c79..fe126aa2 100644 --- a/bot/exts/evergreen/githubinfo.py +++ b/bot/exts/evergreen/githubinfo.py @@ -67,7 +67,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"] is not None else "", + description=f"```{user_data['bio']}```\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") |