@bot.event async def on_command_error(message, error): if isinstance(error, commands.CommandOnCooldown): await message.channel.send(f\'This command is not ready to use, try