我正在尝试将命令设置为具有3秒冷却时间的python discord bot,如果在冷却之前使用该命令,则会发送消息 . 我该怎么办?这是命令的代码:

@client.command(pass_context=True)
@commands.cooldown(1, 3, commands.BucketType.channel)
async def message (ctx):

谢谢!