diff options
author | 2021-03-04 11:20:37 -0800 | |
---|---|---|
committer | 2021-03-04 11:20:37 -0800 | |
commit | 55e33789830c00fc970c74be142857f90678cda7 (patch) | |
tree | 3e313823836d4a45810f96eebe5514d4d7141404 /bot/exts/evergreen/pythonfacts.py | |
parent | Remove unused variables (diff) |
Add link to discussion for suggesting facts in Embed
Diffstat (limited to 'bot/exts/evergreen/pythonfacts.py')
-rw-r--r-- | bot/exts/evergreen/pythonfacts.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bot/exts/evergreen/pythonfacts.py b/bot/exts/evergreen/pythonfacts.py index 11b258f9..fb96a19d 100644 --- a/bot/exts/evergreen/pythonfacts.py +++ b/bot/exts/evergreen/pythonfacts.py @@ -20,7 +20,12 @@ 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 = discord.Embed(title='Python Facts', + description=next(FACTS), + colour=next(COLORS)) + embed.add_field(name='Suggestions', + value="Want to suggest more facts? " + "Suggest more facts [here!](https://github.com/python-discord/meta/discussions/93)") await ctx.send(embed=embed) |