diff options
author | 2021-08-30 12:37:26 -0400 | |
---|---|---|
committer | 2021-08-30 12:37:26 -0400 | |
commit | 990dcf80b0813a85865450c9ad038d3ed620ec08 (patch) | |
tree | 70385b01d91a14e12f46b499de0d2fe189a4e2cd | |
parent | Only send articles to user (diff) |
Correct article length check with future proofing
Co-authored-by: wookie184 <[email protected]>
-rw-r--r-- | bot/exts/evergreen/realpython.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/realpython.py b/bot/exts/evergreen/realpython.py index 6d148ad6..6ef750a9 100644 --- a/bot/exts/evergreen/realpython.py +++ b/bot/exts/evergreen/realpython.py @@ -56,7 +56,7 @@ class RealPython(commands.Cog): article_embed = Embed( title="Search results - Real Python", url=SEARCH_URL.format(user_search=quote_plus(user_search)), - description=f"Here are the top {max(5, len(articles))} results:", + description=f"Here are the top {len(articles)} results:", color=Colours.orange, ) |