mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Only trigger cooldown when message is parsed in [p]contact (#3942)
This commit is contained in:
parent
f0a4c1c252
commit
d411873503
@ -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"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user