mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-22 02:37:57 -05:00
Only trigger cooldown when message is parsed in [p]contact (#3942)
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user