From d411873503b16d8c7b8cce19d1d79b5607a42035 Mon Sep 17 00:00:00 2001 From: Predeactor <61093863+Predeactor@users.noreply.github.com> Date: Thu, 11 Jun 2020 18:54:11 +0200 Subject: [PATCH] Only trigger cooldown when message is parsed in `[p]contact` (#3942) --- redbot/core/core_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index 0c03fe01a..41f8bce32 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -1635,7 +1635,7 @@ class Core(commands.Cog, CoreLogic): await ctx.bot._config.help.tagline.set(tagline) await ctx.send(_("The tagline has been set.")) - @commands.command() + @commands.command(cooldown_after_parsing=True) @commands.cooldown(1, 60, commands.BucketType.user) async def contact(self, ctx: commands.Context, *, message: str): """Sends a message to the owner"""