diff options
author | 2021-05-07 13:41:23 -0400 | |
---|---|---|
committer | 2021-05-07 13:41:23 -0400 | |
commit | d5f01153aac59cfbc043d894ebf6e1173c1efb48 (patch) | |
tree | d129b953b2882ce90603a3db6f442a14e98af5fd /bot/exts/evergreen/pythonfacts.py | |
parent | fix: Resolve Merge Conflicts (diff) |
chore: Reformat the code to follow the style guild
Diffstat (limited to 'bot/exts/evergreen/pythonfacts.py')
-rw-r--r-- | bot/exts/evergreen/pythonfacts.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/bot/exts/evergreen/pythonfacts.py b/bot/exts/evergreen/pythonfacts.py index c0086c20..e162c9bd 100644 --- a/bot/exts/evergreen/pythonfacts.py +++ b/bot/exts/evergreen/pythonfacts.py @@ -18,11 +18,15 @@ class PythonFacts(commands.Cog): @commands.command(name="pythonfact", aliases=["pyfact"]) async def get_python_fact(self, ctx: commands.Context) -> None: """Sends a Random fun fact about Python.""" - embed = discord.Embed(title="Python Facts", - description=next(FACTS), - colour=next(COLORS)) - embed.add_field(name="Suggestions", - value="Suggest more facts [here!](https://github.com/python-discord/meta/discussions/93)") + embed = discord.Embed( + title="Python Facts", + description=next(FACTS), + colour=next(COLORS) + ) + embed.add_field( + name="Suggestions", + value="Suggest more facts [here!](https://github.com/python-discord/meta/discussions/93)" + ) await ctx.send(embed=embed) |