From 2c25c0af4a53a4c280476a70f2b0d3823550a50d Mon Sep 17 00:00:00 2001 From: Vivaan Parashar Date: Fri, 12 Feb 2021 09:20:50 +0530 Subject: remove name param in command --- bot/exts/evergreen/stackoverflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/exts/evergreen/stackoverflow.py') 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.""" -- cgit v1.2.3