aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/pythonfacts.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/evergreen/pythonfacts.py')
-rw-r--r--bot/exts/evergreen/pythonfacts.py14
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)