diff options
author | 2021-02-12 09:20:50 +0530 | |
---|---|---|
committer | 2021-02-12 09:20:50 +0530 | |
commit | 2c25c0af4a53a4c280476a70f2b0d3823550a50d (patch) | |
tree | 591d9bc8d6141116bfbfdc9b0366beffe5e69cd4 /bot/exts/evergreen/stackoverflow.py | |
parent | Apply cooldown to all users instead of global cooldown. (diff) |
remove name param in command
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 2a4b5f88..54b6555d 100644 --- a/bot/exts/evergreen/stackoverflow.py +++ b/bot/exts/evergreen/stackoverflow.py @@ -14,7 +14,7 @@ class Stackoverflow(commands.Cog): def __init__(self, bot: commands.Bot): self.bot = bot - @commands.command(name="stackoverflow", aliases=["so"]) + @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.""" |