diff options
author | 2021-05-15 13:31:34 -0400 | |
---|---|---|
committer | 2021-05-15 13:31:34 -0400 | |
commit | f8a179df350eb3abb7f3595aaff3dbca312f540c (patch) | |
tree | 6868ae98b81b614f8d8d68f1a9bbc06c7cb94490 /bot/exts/evergreen/pythonfacts.py | |
parent | chore: Make all aliases in commands tuples (diff) |
chore: Make things that are only used once constants
Diffstat (limited to 'bot/exts/evergreen/pythonfacts.py')
-rw-r--r-- | bot/exts/evergreen/pythonfacts.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/pythonfacts.py b/bot/exts/evergreen/pythonfacts.py index 606545ab..80a8da5d 100644 --- a/bot/exts/evergreen/pythonfacts.py +++ b/bot/exts/evergreen/pythonfacts.py @@ -10,6 +10,7 @@ with open("bot/resources/evergreen/python_facts.txt") as file: FACTS = itertools.cycle(list(file)) COLORS = itertools.cycle([Colours.python_blue, Colours.python_yellow]) +PYFACTS_DISCUSSION = "https://github.com/python-discord/meta/discussions/93" class PythonFacts(commands.Cog): @@ -25,7 +26,7 @@ class PythonFacts(commands.Cog): ) embed.add_field( name="Suggestions", - value="Suggest more facts [here!](https://github.com/python-discord/meta/discussions/93)" + value=f"Suggest more facts [here!]({PYFACTS_DISCUSSION})" ) await ctx.send(embed=embed) |