aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Vivaan Parashar <[email protected]>2021-06-07 20:56:05 +0530
committerGravatar Vivaan Parashar <[email protected]>2021-06-07 20:56:05 +0530
commit14f7c354aabc316c25c1b6cedeb7fcbd6c916098 (patch)
tree51ed26f24c6f01cfaab8304f6271e17225c519d4
parentuse normal string instead of raw string (diff)
Remove user's query from embed title
-rw-r--r--bot/exts/evergreen/stackoverflow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/stackoverflow.py b/bot/exts/evergreen/stackoverflow.py
index 8dd4a060..22963ad9 100644
--- a/bot/exts/evergreen/stackoverflow.py
+++ b/bot/exts/evergreen/stackoverflow.py
@@ -52,7 +52,7 @@ class Stackoverflow(commands.Cog):
top5 = data["items"][:5]
embed = Embed(
- title=f"Search results for {search_query!r} - Stackoverflow",
+ title="Search results - Stackoverflow",
url=SEARCH_URL.format(query=encoded_search_query),
description=f"Here are the top {len(top5)} results:",
color=Colours.orange