diff options
author | 2021-02-12 09:21:37 +0530 | |
---|---|---|
committer | 2021-02-12 09:21:37 +0530 | |
commit | 6f43eee295ad5561543584baa2095199dba0af38 (patch) | |
tree | 3d2d525863ab3ce6775f1f5ed45d55cca3599a31 /bot/exts/evergreen/stackoverflow.py | |
parent | remove name param in command (diff) |
change docstring
Diffstat (limited to 'bot/exts/evergreen/stackoverflow.py')
-rw-r--r-- | bot/exts/evergreen/stackoverflow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/stackoverflow.py b/bot/exts/evergreen/stackoverflow.py index 54b6555d..06aa37e7 100644 --- a/bot/exts/evergreen/stackoverflow.py +++ b/bot/exts/evergreen/stackoverflow.py @@ -17,7 +17,7 @@ class Stackoverflow(commands.Cog): @commands.command(aliases=["so"]) @commands.cooldown(1, 15, commands.cooldowns.BucketType.user) async def stackoverflow(self, ctx: commands.Context, *, search_query: str) -> None: - """Sends the top 5 results from stackoverflow based on a search query.""" + """Sends the top 5 results of a search query from stackoverflow.""" async with self.bot.http_session.get(BASE_URL.format(query=quote_plus(search_query))) as response: data = await response.json() |